[]Struct syntax::ast::NodeId

pub struct NodeId { /* fields omitted */ }

Methods

impl NodeId

Hacky variant of from_u32 for use in constants. This version checks the "max" constraint by using an invalid array dereference.

Extract value of this index as an integer.

Extract value of this index as a usize.

Extract value of this index as a u32.

impl NodeId
[src]

Trait Implementations

impl Clone for NodeId

Performs copy-assignment from source. Read more

impl Copy for NodeId

impl From<NodeId> for u32

impl From<NodeId> for usize

impl From<usize> for NodeId

impl From<u32> for NodeId

impl Eq for NodeId

impl PartialOrd<NodeId> for NodeId

impl PartialEq<NodeId> for NodeId

impl Ord for NodeId

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Debug for NodeId

impl Display for NodeId
[src]

impl Hash for NodeId

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

impl Step for NodeId

impl UseSpecializedEncodable for NodeId
[src]

impl UseSpecializedDecodable for NodeId
[src]

impl Idx for NodeId

Auto Trait Implementations

impl Send for NodeId

impl Sync for NodeId

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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

🔬 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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 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]

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

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

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

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

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

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

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

impl<T> Erased for T

impl<T> Erased for T