Enum stam::AnnotationDepth
source · pub enum AnnotationDepth {
Zero,
One,
Max,
}Expand description
This determines how far to look up or down in an annotation hierarchy tree formed by AnnotationSelectors.
Variants§
Zero
Apply only on the same level
One
Minimal depth corresponds to a different of exactly one layer in the annotation hierarchy formed by AnnotationSelector (above or below) the current one.
Max
Maximal depth implies deep recursion accross all layers in an annotation hierarchy formed by AnnotationSelector
Trait Implementations§
source§impl Clone for AnnotationDepth
impl Clone for AnnotationDepth
source§fn clone(&self) -> AnnotationDepth
fn clone(&self) -> AnnotationDepth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AnnotationDepth
impl Debug for AnnotationDepth
source§impl Default for AnnotationDepth
impl Default for AnnotationDepth
source§impl PartialEq for AnnotationDepth
impl PartialEq for AnnotationDepth
source§fn eq(&self, other: &AnnotationDepth) -> bool
fn eq(&self, other: &AnnotationDepth) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AnnotationDepth
impl Eq for AnnotationDepth
impl StructuralEq for AnnotationDepth
impl StructuralPartialEq for AnnotationDepth
Auto Trait Implementations§
impl RefUnwindSafe for AnnotationDepth
impl Send for AnnotationDepth
impl Sync for AnnotationDepth
impl Unpin for AnnotationDepth
impl UnwindSafe for AnnotationDepth
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