[][src]Enum clang::StorageClass

#[repr(C)]pub enum StorageClass {
    None,
    Auto,
    Register,
    Static,
    Extern,
    PrivateExtern,
    OpenClWorkGroupLocal,
}

Indicates the storage class of a declaration.

Variants

None

The declaration does not specifiy a storage duration and therefore has an automatic storage duration.

Auto

The declaration specifies an automatic storage duration.

Register

The declaration specifies an automatic storage duration and that it should be stored in a CPU register

Static

The declaration specifies a static storage duration and internal linkage.

Extern

The declaration specifies a static storage duration and external linkage.

PrivateExtern

The declaration specifies a static storage duration and external linkage but is not accessible outside the containing translation unit.

OpenClWorkGroupLocal

The declaration specifies a storage duration related to an OpenCL work group.

Trait Implementations

impl Clone for StorageClass[src]

impl Copy for StorageClass[src]

impl Debug for StorageClass[src]

impl Eq for StorageClass[src]

impl Hash for StorageClass[src]

impl PartialEq<StorageClass> for StorageClass[src]

impl StructuralEq for StorageClass[src]

impl StructuralPartialEq for StorageClass[src]

Auto Trait Implementations

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.