[][src]Struct wasm_bindgen_backend::ast::Const

pub struct Const {
    pub vis: Visibility,
    pub name: Ident,
    pub class: Option<Ident>,
    pub ty: Type,
    pub value: ConstValue,
}

Fields

vis: Visibilityname: Identclass: Option<Ident>ty: Typevalue: ConstValue

Trait Implementations

impl ImportedTypes for Const[src]

impl Clone for Const[src]

impl ToTokens for Const[src]

Auto Trait Implementations

impl !Send for Const

impl !Sync for Const

impl Unpin for Const

impl UnwindSafe for Const

impl !RefUnwindSafe for Const

Blanket Implementations

impl<T> ImportedTypeDefinitions for T where
    T: ImportedTypes
[src]

impl<T> ImportedTypeReferences for T where
    T: ImportedTypes
[src]

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

impl<T> From<T> for 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.

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

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

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

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