[][src]Enum moore_svlog::RibKind

pub enum RibKind {
    Normal(Spanned<Name>, NodeId),
    Module(HashMap<Name, NodeId>),
    Enum(HashMap<Name, NodeId>),
}

A local scope kind.

Variants

Normal(Spanned<Name>, NodeId)

A normal declaration.

Module(HashMap<Name, NodeId>)

A module.

An enum type declaration.

Methods

impl RibKind[src]

pub fn get(&self, name: Name) -> Option<NodeId>[src]

Look up a name.

Trait Implementations

impl Clone for RibKind[src]

impl Debug for RibKind[src]

impl Eq for RibKind[src]

impl PartialEq<RibKind> for RibKind[src]

impl StructuralEq for RibKind[src]

impl StructuralPartialEq for RibKind[src]

Auto Trait Implementations

impl RefUnwindSafe for RibKind

impl Send for RibKind

impl Sync for RibKind

impl Unpin for RibKind

impl UnwindSafe for RibKind

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.