pub enum LiteralBase {
Decimal,
Octal,
Hexadecimal,
}
Expand description
The base of an Int
literal.
Variants§
Trait Implementations§
Source§impl Clone for LiteralBase
impl Clone for LiteralBase
Source§fn clone(&self) -> LiteralBase
fn clone(&self) -> LiteralBase
Returns a duplicate 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 LiteralBase
impl Debug for LiteralBase
Source§impl PartialEq for LiteralBase
impl PartialEq for LiteralBase
impl Copy for LiteralBase
impl StructuralPartialEq for LiteralBase
Auto Trait Implementations§
impl Freeze for LiteralBase
impl RefUnwindSafe for LiteralBase
impl Send for LiteralBase
impl Sync for LiteralBase
impl Unpin for LiteralBase
impl UnwindSafe for LiteralBase
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