Enum inari::Decoration
source Β· [−]#[repr(u8)]
pub enum Decoration {
Ill,
Trv,
Def,
Dac,
Com,
}
Expand description
The decoration of a DecInterval
.
Variants
Ill
The βill-formedβ decoration.
Trv
The βtrivialβ decoration.
Def
The βdefinedβ decoration.
Dac
The βdefined and continuousβ decoration.
Com
The βcommonβ decoration.
Trait Implementations
sourceimpl Clone for Decoration
impl Clone for Decoration
sourcefn clone(&self) -> Decoration
fn clone(&self) -> Decoration
Returns a copy of the value. Read more
1.0.0 Β· sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Decoration
impl Debug for Decoration
sourceimpl Hash for Decoration
impl Hash for Decoration
sourceimpl Ord for Decoration
impl Ord for Decoration
sourceimpl PartialEq<Decoration> for Decoration
impl PartialEq<Decoration> for Decoration
sourceimpl PartialOrd<Decoration> for Decoration
impl PartialOrd<Decoration> for Decoration
sourcefn partial_cmp(&self, other: &Decoration) -> Option<Ordering>
fn partial_cmp(&self, other: &Decoration) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 Β· sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 Β· sourcefn 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 more
impl Copy for Decoration
impl Eq for Decoration
impl StructuralEq for Decoration
impl StructuralPartialEq for Decoration
Auto Trait Implementations
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable Β· sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedAs for T
impl<T> CheckedAs for T
sourcefn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
Casts the value.
sourceimpl<T> OverflowingAs for T
impl<T> OverflowingAs for T
sourcefn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
Casts the value.
sourceimpl<T> SaturatingAs for T
impl<T> SaturatingAs for T
sourcefn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
Casts the value.
sourceimpl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
sourcefn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
Casts the value.
sourceimpl<T> WrappingAs for T
impl<T> WrappingAs for T
sourcefn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
Casts the value.