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