Enum clang::Availability [−][src]
#[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.
The entity is not available and any usage of it will be an error.
Trait Implementations
impl Copy for Availability
[src]
impl Copy for Availability
impl Clone for Availability
[src]
impl Clone for Availability
fn clone(&self) -> Availability
[src]
fn clone(&self) -> Availability
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Availability
[src]
impl Debug for Availability
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Availability
[src]
impl PartialEq for Availability
fn eq(&self, other: &Availability) -> bool
[src]
fn eq(&self, other: &Availability) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Availability
[src]
impl Eq for Availability
impl Hash for Availability
[src]
impl Hash for Availability
Auto Trait Implementations
impl Send for Availability
impl Send for Availability
impl Sync for Availability
impl Sync for Availability