Enum clang::Availability
source · [−]#[repr(C)]
pub enum Availability {
Available,
Deprecated,
Inaccessible,
Unavailable,
}
Expand description
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
sourceimpl Clone for Availability
impl Clone for Availability
sourcefn clone(&self) -> Availability
fn clone(&self) -> Availability
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Availability
impl Debug for Availability
sourceimpl Hash for Availability
impl Hash for Availability
sourceimpl PartialEq<Availability> for Availability
impl PartialEq<Availability> for Availability
impl Copy for Availability
impl Eq for Availability
impl StructuralEq for Availability
impl StructuralPartialEq for Availability
Auto Trait Implementations
impl RefUnwindSafe for Availability
impl Send for Availability
impl Sync for Availability
impl Unpin for Availability
impl UnwindSafe for Availability
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more