pub struct ObjCPropertyAttributes {
pub ty: Option<ObjCQualifiedType>,
pub readonly: bool,
pub nonatomic: bool,
pub dynamic: bool,
pub weak: bool,
pub copy: bool,
pub strong: bool,
pub getter: Option<String>,
pub setter: Option<String>,
pub ivar: Option<String>,
pub old_type_encoding: Option<String>,
pub unknown_flags: Vec<String>,
}Expand description
The ObjCPropertyAttributes type.
Fields§
§ty: Option<ObjCQualifiedType>The ty field.
readonly: boolThe readonly field.
nonatomic: boolThe nonatomic field.
dynamic: boolThe dynamic field.
weak: boolThe weak field.
copy: boolThe copy field.
strong: boolThe strong field.
getter: Option<String>The getter field.
setter: Option<String>The setter field.
ivar: Option<String>The ivar field.
old_type_encoding: Option<String>The old_type_encoding field.
unknown_flags: Vec<String>The unknown_flags field.
Implementations§
Source§impl ObjCPropertyAttributes
impl ObjCPropertyAttributes
Sourcepub fn effective_type(&self) -> Option<ObjCQualifiedType>
pub fn effective_type(&self) -> Option<ObjCQualifiedType>
Performs effective_type.
Trait Implementations§
Source§impl Clone for ObjCPropertyAttributes
impl Clone for ObjCPropertyAttributes
Source§impl Debug for ObjCPropertyAttributes
impl Debug for ObjCPropertyAttributes
Source§impl Default for ObjCPropertyAttributes
impl Default for ObjCPropertyAttributes
impl Eq for ObjCPropertyAttributes
Source§impl PartialEq for ObjCPropertyAttributes
impl PartialEq for ObjCPropertyAttributes
impl StructuralPartialEq for ObjCPropertyAttributes
Auto Trait Implementations§
impl Freeze for ObjCPropertyAttributes
impl RefUnwindSafe for ObjCPropertyAttributes
impl Send for ObjCPropertyAttributes
impl Sync for ObjCPropertyAttributes
impl Unpin for ObjCPropertyAttributes
impl UnsafeUnpin for ObjCPropertyAttributes
impl UnwindSafe for ObjCPropertyAttributes
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