pub enum ObjCRelativeSelectorEncoding {
DirectString {
selector_string_file_offset: ThinFileOffset,
},
IndirectReference {
selector_reference_file_offset: ThinFileOffset,
selector_reference_pointer: ObjCPointerProvenance,
},
}Expand description
Selector representation selected by a relative method-list header.
Variants§
DirectString
The relative offset reaches the selector string directly.
Fields
§
selector_string_file_offset: ThinFileOffsetExact file offset of the selector cstring.
IndirectReference
The relative offset reaches a pointer to the selector string.
Fields
§
selector_reference_file_offset: ThinFileOffsetExact file offset of the selector-reference pointer.
§
selector_reference_pointer: ObjCPointerProvenanceFixup provenance of that pointer.
Trait Implementations§
Source§impl Clone for ObjCRelativeSelectorEncoding
impl Clone for ObjCRelativeSelectorEncoding
Source§impl Debug for ObjCRelativeSelectorEncoding
impl Debug for ObjCRelativeSelectorEncoding
impl Eq for ObjCRelativeSelectorEncoding
impl StructuralPartialEq for ObjCRelativeSelectorEncoding
Auto Trait Implementations§
impl Freeze for ObjCRelativeSelectorEncoding
impl RefUnwindSafe for ObjCRelativeSelectorEncoding
impl Send for ObjCRelativeSelectorEncoding
impl Sync for ObjCRelativeSelectorEncoding
impl Unpin for ObjCRelativeSelectorEncoding
impl UnsafeUnpin for ObjCRelativeSelectorEncoding
impl UnwindSafe for ObjCRelativeSelectorEncoding
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