Enum fastobo::ast::SynonymScope
source · pub enum SynonymScope {
Broad,
Exact,
Narrow,
Related,
}
Expand description
A synonym scope specifier.
Variants§
Trait Implementations§
source§impl Clone for SynonymScope
impl Clone for SynonymScope
source§fn clone(&self) -> SynonymScope
fn clone(&self) -> SynonymScope
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 SynonymScope
impl Debug for SynonymScope
source§impl Display for SynonymScope
impl Display for SynonymScope
source§impl<'i> FromPair<'i> for SynonymScope
impl<'i> FromPair<'i> for SynonymScope
source§impl FromStr for SynonymScope
impl FromStr for SynonymScope
source§impl Hash for SynonymScope
impl Hash for SynonymScope
source§impl Ord for SynonymScope
impl Ord for SynonymScope
source§fn cmp(&self, other: &SynonymScope) -> Ordering
fn cmp(&self, other: &SynonymScope) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SynonymScope> for SynonymScope
impl PartialEq<SynonymScope> for SynonymScope
source§fn eq(&self, other: &SynonymScope) -> bool
fn eq(&self, other: &SynonymScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SynonymScope> for SynonymScope
impl PartialOrd<SynonymScope> for SynonymScope
source§fn partial_cmp(&self, other: &SynonymScope) -> Option<Ordering>
fn partial_cmp(&self, other: &SynonymScope) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SynonymScope
impl StructuralEq for SynonymScope
impl StructuralPartialEq for SynonymScope
Auto Trait Implementations§
impl RefUnwindSafe for SynonymScope
impl Send for SynonymScope
impl Sync for SynonymScope
impl Unpin for SynonymScope
impl UnwindSafe for SynonymScope
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