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
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 Copy for ObjCAttributes
[src]
impl Clone for ObjCAttributes
[src]
fn clone(&self) -> ObjCAttributes
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ObjCAttributes
[src]
impl PartialEq for ObjCAttributes
[src]
fn eq(&self, __arg_0: &ObjCAttributes) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ObjCAttributes) -> bool
[src]
This method tests for !=
.
impl Eq for ObjCAttributes
[src]
impl Hash for ObjCAttributes
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl From<CXObjCPropertyAttrKind> for ObjCAttributes
[src]
fn from(flags: CXObjCPropertyAttrKind) -> ObjCAttributes
[src]
Performs the conversion.