[][src]Enum clang::Availability

#[repr(C)]pub enum Availability {
    Available,
    Deprecated,
    Inaccessible,
    Unavailable,
}

Indicates the availability of an AST entity.

Variants

Available

The entity is available.

Deprecated

The entity is available but has been deprecated and any usage of it will be a warning.

Inaccessible

The entity is available but is not accessible and any usage of it will be an error.

Unavailable

The entity is not available and any usage of it will be an error.

Trait Implementations

impl Clone for Availability[src]

impl Copy for Availability[src]

impl Debug for Availability[src]

impl Eq for Availability[src]

impl Hash for Availability[src]

impl PartialEq<Availability> for Availability[src]

impl StructuralEq for Availability[src]

impl StructuralPartialEq for Availability[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.