Struct clang::ObjCAttributes [] [src]

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

Indicates use of the readonly attribute.

Indicates use of the getter attribute.

Indicates use of the assign attribute.

Indicates use of the readwrite attribute.

Indicates use of the retain attribute.

Indicates use of the copy attribute.

Indicates use of the nonatomic attribute.

Indicates use of the setter attribute.

Indicates use of the atomic attribute.

Indicates use of the weak attribute.

Indicates use of the strong attribute.

Indicates use of the unsafe_retained attribute.

Trait Implementations

impl Copy for ObjCAttributes
[src]

impl Clone for ObjCAttributes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ObjCAttributes
[src]

Formats the value using the given formatter.

impl PartialEq for ObjCAttributes
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ObjCAttributes
[src]

impl Hash for ObjCAttributes
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl From<CXObjCPropertyAttrKind> for ObjCAttributes
[src]

Performs the conversion.