pub struct ObjCIvar {
pub name: String,
pub type_encoding: Option<String>,
pub offset: Option<u32>,
pub size: u32,
pub alignment: u32,
}Expand description
The ObjCIvar type.
Fields§
§name: StringThe name field.
type_encoding: Option<String>The decoded type encoding, or None when its pointer cannot be
resolved. An empty encoding means the ivar carries none, which is how
Swift stored properties appear.
offset: Option<u32>The decoded runtime offset, or None when its pointer cannot be resolved.
size: u32The size field.
alignment: u32The alignment field.
Implementations§
Source§impl ObjCIvar
impl ObjCIvar
Sourcepub fn parsed_type(&self) -> Option<ObjCQualifiedType>
pub fn parsed_type(&self) -> Option<ObjCQualifiedType>
Performs parsed_type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjCIvar
impl RefUnwindSafe for ObjCIvar
impl Send for ObjCIvar
impl Sync for ObjCIvar
impl Unpin for ObjCIvar
impl UnsafeUnpin for ObjCIvar
impl UnwindSafe for ObjCIvar
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