[][src]Struct naga::GlobalVariable

pub struct GlobalVariable {
    pub name: Option<String>,
    pub class: StorageClass,
    pub binding: Option<Binding>,
    pub ty: Handle<Type>,
}

Fields

name: Option<String>class: StorageClassbinding: Option<Binding>ty: Handle<Type>

Trait Implementations

impl Clone for GlobalVariable[src]

impl Debug for GlobalVariable[src]

impl PartialEq<GlobalVariable> for GlobalVariable[src]

impl StructuralPartialEq for GlobalVariable[src]

Auto Trait Implementations

impl RefUnwindSafe for GlobalVariable

impl Send for GlobalVariable

impl Sync for GlobalVariable

impl Unpin for GlobalVariable

impl UnwindSafe for GlobalVariable

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<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.