pub struct NegativeNumber<'ast> {
pub value: String,
pub span: Span<'ast>,
}Fields§
§value: String§span: Span<'ast>Trait Implementations§
Source§impl<'ast> Clone for NegativeNumber<'ast>
impl<'ast> Clone for NegativeNumber<'ast>
Source§fn clone(&self) -> NegativeNumber<'ast>
fn clone(&self) -> NegativeNumber<'ast>
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<'ast> Debug for NegativeNumber<'ast>
impl<'ast> Debug for NegativeNumber<'ast>
Source§impl<'ast> Display for NegativeNumber<'ast>
impl<'ast> Display for NegativeNumber<'ast>
impl<'ast> Eq for NegativeNumber<'ast>
Source§impl<'ast> FromPest<'ast> for NegativeNumber<'ast>
impl<'ast> FromPest<'ast> for NegativeNumber<'ast>
Source§impl<'ast> PartialEq for NegativeNumber<'ast>
impl<'ast> PartialEq for NegativeNumber<'ast>
impl<'ast> StructuralPartialEq for NegativeNumber<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for NegativeNumber<'ast>
impl<'ast> RefUnwindSafe for NegativeNumber<'ast>
impl<'ast> Send for NegativeNumber<'ast>
impl<'ast> Sync for NegativeNumber<'ast>
impl<'ast> Unpin for NegativeNumber<'ast>
impl<'ast> UnsafeUnpin for NegativeNumber<'ast>
impl<'ast> UnwindSafe for NegativeNumber<'ast>
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