pub struct ObjCAttributes {}
Expand description
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.
class: bool
Indicates 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