pub trait RelationSetExt: 'static {
    fn add(&self, relation: &impl IsA<Relation>);
fn add_relation_by_type(
        &self,
        relationship: RelationType,
        target: &impl IsA<Object>
    );
fn contains(&self, relationship: RelationType) -> bool;
fn contains_target(
        &self,
        relationship: RelationType,
        target: &impl IsA<Object>
    ) -> bool;
fn n_relations(&self) -> i32;
fn relation(&self, i: i32) -> Option<Relation>;
fn relation_by_type(&self, relationship: RelationType) -> Option<Relation>;
fn remove(&self, relation: &impl IsA<Relation>); }

Required methods

Implementors