[−][src]Enum fuzzy_pickles::ast::NumberValue
Variants
Binary(NumberBinary)
Decimal(NumberDecimal)
Hexadecimal(NumberHexadecimal)
Octal(NumberOctal)
Implementations
impl NumberValue
[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]
Trait Implementations
impl Debug for NumberValue
[src]
impl HasExtent for NumberValue
[src]
impl<'a> Index<&'a NumberValue> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: &'a NumberValue) -> &Self::Output
[src]
impl Index<NumberValue> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: NumberValue) -> &Self::Output
[src]
impl Visit for NumberValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for NumberValue
impl Send for NumberValue
impl Sync for NumberValue
impl Unpin for NumberValue
impl UnwindSafe for NumberValue
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, 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>,