pub struct NegInfinity;
Expand description
Represents the terminal symbol Infinity
Trait Implementations§
Source§impl Clone for NegInfinity
impl Clone for NegInfinity
Source§fn clone(&self) -> NegInfinity
fn clone(&self) -> NegInfinity
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 NegInfinity
impl Debug for NegInfinity
Source§impl Default for NegInfinity
impl Default for NegInfinity
Source§fn default() -> NegInfinity
fn default() -> NegInfinity
Returns the “default value” for a type. Read more
Source§impl<'a> From<NegInfinity> for FloatLit<'a>
impl<'a> From<NegInfinity> for FloatLit<'a>
Source§fn from(x: NegInfinity) -> Self
fn from(x: NegInfinity) -> Self
Converts to this type from the input type.
Source§impl Hash for NegInfinity
impl Hash for NegInfinity
Source§impl Ord for NegInfinity
impl Ord for NegInfinity
Source§fn cmp(&self, other: &NegInfinity) -> Ordering
fn cmp(&self, other: &NegInfinity) -> 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 for NegInfinity
impl PartialEq for NegInfinity
Source§impl PartialOrd for NegInfinity
impl PartialOrd for NegInfinity
impl Copy for NegInfinity
impl Eq for NegInfinity
impl StructuralPartialEq for NegInfinity
Auto Trait Implementations§
impl Freeze for NegInfinity
impl RefUnwindSafe for NegInfinity
impl Send for NegInfinity
impl Sync for NegInfinity
impl Unpin for NegInfinity
impl UnwindSafe for NegInfinity
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