pub struct ObjCAttributes {}Expand description
Indicates which attributes were applied to an Objective-C property.
Fields§
§readonly: boolIndicates use of the readonly attribute.
getter: boolIndicates use of the getter attribute.
assign: boolIndicates use of the assign attribute.
readwrite: boolIndicates use of the readwrite attribute.
retain: boolIndicates use of the retain attribute.
copy: boolIndicates use of the copy attribute.
nonatomic: boolIndicates use of the nonatomic attribute.
setter: boolIndicates use of the setter attribute.
atomic: boolIndicates use of the atomic attribute.
weak: boolIndicates use of the weak attribute.
strong: boolIndicates use of the strong attribute.
unsafe_retained: boolIndicates use of the unsafe_retained attribute.
class: boolIndicates use of the class attribute.
Trait Implementations§
Source§impl Clone for ObjCAttributes
impl Clone for ObjCAttributes
Source§fn clone(&self) -> ObjCAttributes
fn clone(&self) -> ObjCAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjCAttributes
impl Debug for ObjCAttributes
Source§impl From<ObjCAttributes> for CXObjCPropertyAttrKind
impl From<ObjCAttributes> for CXObjCPropertyAttrKind
Source§fn from(options: ObjCAttributes) -> CXObjCPropertyAttrKind
fn from(options: ObjCAttributes) -> CXObjCPropertyAttrKind
Converts to this type from the input type.
Source§impl From<i32> for ObjCAttributes
impl From<i32> for ObjCAttributes
Source§fn from(flags: CXObjCPropertyAttrKind) -> ObjCAttributes
fn from(flags: CXObjCPropertyAttrKind) -> ObjCAttributes
Converts to this type from the input type.
Source§impl Hash for ObjCAttributes
impl Hash for ObjCAttributes
Source§impl PartialEq for ObjCAttributes
impl PartialEq for ObjCAttributes
impl Copy for ObjCAttributes
impl Eq for ObjCAttributes
impl StructuralPartialEq for ObjCAttributes
Auto Trait Implementations§
impl Freeze for ObjCAttributes
impl RefUnwindSafe for ObjCAttributes
impl Send for ObjCAttributes
impl Sync for ObjCAttributes
impl Unpin for ObjCAttributes
impl UnwindSafe for ObjCAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more