pub enum ObjCMethodRecordEncoding {
Absolute {
selector_pointer: ObjCPointerProvenance,
type_encoding_pointer: ObjCPointerProvenance,
implementation_pointer: ObjCPointerProvenance,
},
Relative {
selector_field_va: Va,
type_encoding_field_va: Va,
implementation_field_va: Va,
selector: ObjCRelativeSelectorEncoding,
},
}Expand description
Pointer or relative-field representation used by one method record.
Variants§
Absolute
Three pointer-sized fields, each retaining its fixup provenance.
Fields
§
selector_pointer: ObjCPointerProvenanceSelector-name pointer provenance.
§
type_encoding_pointer: ObjCPointerProvenanceType-encoding pointer provenance.
§
implementation_pointer: ObjCPointerProvenanceImplementation pointer provenance.
Relative
Three signed 32-bit offsets relative to their own field addresses.
Fields
§
selector: ObjCRelativeSelectorEncodingDirect-string or indirect-selector-reference representation.
Trait Implementations§
Source§impl Clone for ObjCMethodRecordEncoding
impl Clone for ObjCMethodRecordEncoding
Source§impl Debug for ObjCMethodRecordEncoding
impl Debug for ObjCMethodRecordEncoding
impl Eq for ObjCMethodRecordEncoding
Source§impl PartialEq for ObjCMethodRecordEncoding
impl PartialEq for ObjCMethodRecordEncoding
impl StructuralPartialEq for ObjCMethodRecordEncoding
Auto Trait Implementations§
impl Freeze for ObjCMethodRecordEncoding
impl RefUnwindSafe for ObjCMethodRecordEncoding
impl Send for ObjCMethodRecordEncoding
impl Sync for ObjCMethodRecordEncoding
impl Unpin for ObjCMethodRecordEncoding
impl UnsafeUnpin for ObjCMethodRecordEncoding
impl UnwindSafe for ObjCMethodRecordEncoding
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