pub struct RelationReactiveInstanceContainerImpl {
pub reactive_instance: ReactiveRelation,
}
Fields§
§reactive_instance: ReactiveRelation
Trait Implementations§
Source§impl BehaviourRelationInstanceContainer for RelationReactiveInstanceContainerImpl
impl BehaviourRelationInstanceContainer for RelationReactiveInstanceContainerImpl
Source§fn get_outbound(&self) -> &ReactiveEntity
fn get_outbound(&self) -> &ReactiveEntity
Returns the outbound instance of the behaviour.
Source§fn get_inbound(&self) -> &ReactiveEntity
fn get_inbound(&self) -> &ReactiveEntity
Returns the inbound instance of the behaviour.
Source§impl BehaviourTypesContainer for RelationReactiveInstanceContainerImpl
impl BehaviourTypesContainer for RelationReactiveInstanceContainerImpl
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<RelationInstanceId, ReactiveRelation> for RelationReactiveInstanceContainerImpl
impl ReactiveInstanceContainer<RelationInstanceId, ReactiveRelation> for RelationReactiveInstanceContainerImpl
Auto Trait Implementations§
impl Freeze for RelationReactiveInstanceContainerImpl
impl !RefUnwindSafe for RelationReactiveInstanceContainerImpl
impl Send for RelationReactiveInstanceContainerImpl
impl Sync for RelationReactiveInstanceContainerImpl
impl Unpin for RelationReactiveInstanceContainerImpl
impl !UnwindSafe for RelationReactiveInstanceContainerImpl
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