[−][src]Enum fuzzy_pickles::tokenizer::Number
Variants
Binary(NumberBinary)
Decimal(NumberDecimal)
Hexadecimal(NumberHexadecimal)
Octal(NumberOctal)
Implementations
impl Number
[src]
pub fn into_binary(self) -> Option<NumberBinary>
[src]
pub fn into_decimal(self) -> Option<NumberDecimal>
[src]
pub fn into_hexadecimal(self) -> Option<NumberHexadecimal>
[src]
pub fn into_octal(self) -> Option<NumberOctal>
[src]
pub fn as_binary(&self) -> Option<&NumberBinary>
[src]
pub fn as_decimal(&self) -> Option<&NumberDecimal>
[src]
pub fn as_hexadecimal(&self) -> Option<&NumberHexadecimal>
[src]
pub fn as_octal(&self) -> Option<&NumberOctal>
[src]
pub fn is_binary(&self) -> bool
[src]
pub fn is_decimal(&self) -> bool
[src]
pub fn is_hexadecimal(&self) -> bool
[src]
pub fn is_octal(&self) -> bool
[src]
impl Number
[src]
pub fn into_simple(self) -> Option<Extent>
[src]
Trait Implementations
impl Clone for Number
[src]
impl Copy for Number
[src]
impl Debug for Number
[src]
impl Eq for Number
[src]
impl PartialEq<Number> for Number
[src]
impl StructuralEq for Number
[src]
impl StructuralPartialEq for Number
[src]
Auto Trait Implementations
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,