pub struct Num { /* private fields */ }
Expand description
The mn
element represents a “numeric literal” or other data that should be rendered as a
numeric literal. Generally speaking, a numeric literal is a sequence of digits, perhaps
including a decimal point, representing an unsigned integer or real number.
Implementations§
source§impl Num
impl Num
Trait Implementations§
source§impl IntoElements for Num
impl IntoElements for Num
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Num
impl Ord for Num
source§impl PartialOrd for Num
impl PartialOrd for Num
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 Num
impl StructuralEq for Num
impl StructuralPartialEq for Num
Auto Trait Implementations§
impl RefUnwindSafe for Num
impl Send for Num
impl Sync for Num
impl Unpin for Num
impl UnwindSafe for Num
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