Trait atk::prelude::RelationSetExt [−][src]
Required methods
fn add<P: IsA<Relation>>(&self, relation: &P)
[src]
fn add_relation_by_type<P: IsA<Object>>(
&self,
relationship: RelationType,
target: &P
)
[src]
&self,
relationship: RelationType,
target: &P
)
fn contains(&self, relationship: RelationType) -> bool
[src]
fn contains_target<P: IsA<Object>>(
&self,
relationship: RelationType,
target: &P
) -> bool
[src]
&self,
relationship: RelationType,
target: &P
) -> bool
fn get_n_relations(&self) -> i32
[src]
fn get_relation(&self, i: i32) -> Option<Relation>
[src]
fn get_relation_by_type(&self, relationship: RelationType) -> Option<Relation>
[src]
fn remove<P: IsA<Relation>>(&self, relation: &P)
[src]
Implementors
impl<O: IsA<RelationSet>> RelationSetExt for O
[src]
fn add<P: IsA<Relation>>(&self, relation: &P)
[src]
fn add_relation_by_type<P: IsA<Object>>(
&self,
relationship: RelationType,
target: &P
)
[src]
&self,
relationship: RelationType,
target: &P
)
fn contains(&self, relationship: RelationType) -> bool
[src]
fn contains_target<P: IsA<Object>>(
&self,
relationship: RelationType,
target: &P
) -> bool
[src]
&self,
relationship: RelationType,
target: &P
) -> bool