pub struct SignedDecimalLiteral {
pub sign: Option<Sign>,
pub decimal: String,
}Fields§
§sign: Option<Sign>§decimal: StringTrait Implementations§
Source§impl Clone for SignedDecimalLiteral
impl Clone for SignedDecimalLiteral
Source§fn clone(&self) -> SignedDecimalLiteral
fn clone(&self) -> SignedDecimalLiteral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignedDecimalLiteral
impl Debug for SignedDecimalLiteral
Source§impl Display for SignedDecimalLiteral
impl Display for SignedDecimalLiteral
impl Eq for SignedDecimalLiteral
Source§impl PartialEq for SignedDecimalLiteral
impl PartialEq for SignedDecimalLiteral
Source§fn eq(&self, other: &SignedDecimalLiteral) -> bool
fn eq(&self, other: &SignedDecimalLiteral) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignedDecimalLiteral
Auto Trait Implementations§
impl Freeze for SignedDecimalLiteral
impl RefUnwindSafe for SignedDecimalLiteral
impl Send for SignedDecimalLiteral
impl Sync for SignedDecimalLiteral
impl Unpin for SignedDecimalLiteral
impl UnsafeUnpin for SignedDecimalLiteral
impl UnwindSafe for SignedDecimalLiteral
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more