[][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]

impl Copy for ObjCAttributes[src]

impl Debug for ObjCAttributes[src]

impl Eq for ObjCAttributes[src]

impl From<ObjCAttributes> for CXObjCPropertyAttrKind[src]

impl From<i32> for ObjCAttributes[src]

impl Hash for ObjCAttributes[src]

impl PartialEq<ObjCAttributes> for ObjCAttributes[src]

impl StructuralEq for ObjCAttributes[src]

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