pub struct EntityReactiveInstanceContainerImpl {
pub reactive_instance: ReactiveEntity,
}Fields§
§reactive_instance: ReactiveEntityTrait Implementations§
Source§impl BehaviourTypesContainer for EntityReactiveInstanceContainerImpl
impl BehaviourTypesContainer for EntityReactiveInstanceContainerImpl
Source§fn get_behaviours(&self) -> Vec<BehaviourTypeId>
fn get_behaviours(&self) -> Vec<BehaviourTypeId>
Returns the behaviour types of the container.
Source§fn add_behaviour(&self, ty: BehaviourTypeId)
fn add_behaviour(&self, ty: BehaviourTypeId)
Adds a behaviour to the container.
Source§fn remove_behaviour(&self, ty: &BehaviourTypeId)
fn remove_behaviour(&self, ty: &BehaviourTypeId)
Removes a behaviour from the container.
Source§fn behaves_as(&self, ty: &BehaviourTypeId) -> bool
fn behaves_as(&self, ty: &BehaviourTypeId) -> bool
Returns true, if the reactive instance behaves as the given behaviour.
Source§impl ReactiveInstanceContainer<Uuid, ReactiveEntity> for EntityReactiveInstanceContainerImpl
impl ReactiveInstanceContainer<Uuid, ReactiveEntity> for EntityReactiveInstanceContainerImpl
Auto Trait Implementations§
impl Freeze for EntityReactiveInstanceContainerImpl
impl !RefUnwindSafe for EntityReactiveInstanceContainerImpl
impl Send for EntityReactiveInstanceContainerImpl
impl Sync for EntityReactiveInstanceContainerImpl
impl Unpin for EntityReactiveInstanceContainerImpl
impl !UnwindSafe for EntityReactiveInstanceContainerImpl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more