pub struct OctLit<'a>(pub &'a str);
Expand description
Parses -?0[0-7]*
Tuple Fields§
§0: &'a str
Trait Implementations§
Source§impl<'a> From<OctLit<'a>> for IntegerLit<'a>
impl<'a> From<OctLit<'a>> for IntegerLit<'a>
Source§impl<'a> Ord for OctLit<'a>
impl<'a> Ord for OctLit<'a>
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<'a> PartialOrd for OctLit<'a>
impl<'a> PartialOrd for OctLit<'a>
impl<'a> Copy for OctLit<'a>
impl<'a> Eq for OctLit<'a>
impl<'a> StructuralPartialEq for OctLit<'a>
Auto Trait Implementations§
impl<'a> Freeze for OctLit<'a>
impl<'a> RefUnwindSafe for OctLit<'a>
impl<'a> Send for OctLit<'a>
impl<'a> Sync for OctLit<'a>
impl<'a> Unpin for OctLit<'a>
impl<'a> UnwindSafe for OctLit<'a>
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