[][src]Enum moore_vhdl_syntax::lexer::token::Literal

pub enum Literal {
    Abstract(Option<Name>, NameOption<Name>, Option<Exponent>),
    BitString(Option<Name>, BitStringBaseName),
    Char(char),
    String(Name),
}

Variants

Abstract(Option<Name>, NameOption<Name>, Option<Exponent>)BitString(Option<Name>, BitStringBaseName)Char(char)String(Name)

Methods

impl Literal
[src]

pub fn as_str(self) -> &'static str
[src]

Trait Implementations

impl PartialEq<Literal> for Literal
[src]

impl Eq for Literal
[src]

impl Clone for Literal
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Literal
[src]

impl Debug for Literal
[src]

impl Hash for Literal
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Encodable for Literal
[src]

impl Decodable for Literal
[src]

Auto Trait Implementations

impl Send for Literal

impl Sync for Literal

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]