pub trait HasAnnotations {
Show 14 methods // Required methods fn has_annotations(&self) -> bool; fn annotations_len(&self) -> usize; fn annotations(&self) -> Box<dyn Iterator<Item = &Annotation> + '_>; fn annotations_mut( &mut self ) -> Box<dyn Iterator<Item = &mut Annotation> + '_>; fn add_to_annotations<I>(&mut self, value: I) where I: Into<Annotation>; fn extend_annotations<I>(&mut self, extension: I) where I: IntoIterator<Item = Annotation>; // Provided methods fn has_annotation_properties(&self) -> bool { ... } fn annotation_properties( &self ) -> Box<dyn Iterator<Item = &AnnotationProperty> + '_> { ... } fn preferred_label(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_> { ... } fn alternate_labels(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_> { ... } fn descriptions(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_> { ... } fn definitions(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_> { ... } fn has_constraints(&self) -> bool { ... } fn annotation_constraints<I>( &self ) -> Box<dyn Iterator<Item = &Constraint> + '_> { ... }
}

Required Methods§

source

fn has_annotations(&self) -> bool

source

fn annotations_len(&self) -> usize

source

fn annotations(&self) -> Box<dyn Iterator<Item = &Annotation> + '_>

source

fn annotations_mut(&mut self) -> Box<dyn Iterator<Item = &mut Annotation> + '_>

source

fn add_to_annotations<I>(&mut self, value: I)
where I: Into<Annotation>,

source

fn extend_annotations<I>(&mut self, extension: I)
where I: IntoIterator<Item = Annotation>,

Provided Methods§

source

fn has_annotation_properties(&self) -> bool

source

fn annotation_properties( &self ) -> Box<dyn Iterator<Item = &AnnotationProperty> + '_>

source

fn preferred_label(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_>

source

fn alternate_labels(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_>

source

fn descriptions(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_>

source

fn definitions(&self) -> Box<dyn Iterator<Item = &LanguageString> + '_>

source

fn has_constraints(&self) -> bool

source

fn annotation_constraints<I>( &self ) -> Box<dyn Iterator<Item = &Constraint> + '_>

Object Safety§

This trait is not object safe.

Implementors§