[][src]Struct clang::ObjCAttributes

pub struct ObjCAttributes {
    pub readonly: bool,
    pub getter: bool,
    pub assign: bool,
    pub readwrite: bool,
    pub retain: bool,
    pub copy: bool,
    pub nonatomic: bool,
    pub setter: bool,
    pub atomic: bool,
    pub weak: bool,
    pub strong: bool,
    pub unsafe_retained: bool,
}

Indicates which attributes were applied to an Objective-C property.

Fields

readonly: bool

Indicates use of the readonly attribute.

getter: bool

Indicates use of the getter attribute.

assign: bool

Indicates use of the assign attribute.

readwrite: bool

Indicates use of the readwrite attribute.

retain: bool

Indicates use of the retain attribute.

copy: bool

Indicates use of the copy attribute.

nonatomic: bool

Indicates use of the nonatomic attribute.

setter: bool

Indicates use of the setter attribute.

atomic: bool

Indicates use of the atomic attribute.

weak: bool

Indicates use of the weak attribute.

strong: bool

Indicates use of the strong attribute.

unsafe_retained: bool

Indicates use of the unsafe_retained attribute.

Trait Implementations

impl Clone for ObjCAttributes[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<i32> for ObjCAttributes[src]

impl From<ObjCAttributes> for CXObjCPropertyAttrKind[src]

impl Eq for ObjCAttributes[src]

impl Copy for ObjCAttributes[src]

impl PartialEq<ObjCAttributes> for ObjCAttributes[src]

impl Debug for ObjCAttributes[src]

impl Hash for ObjCAttributes[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.