pub enum GepField {
Name(String),
Offset(u64),
}Expand description
The field selector of a gep(...) — by field name or by raw byte offset.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GepField
impl RefUnwindSafe for GepField
impl Send for GepField
impl Sync for GepField
impl Unpin for GepField
impl UnsafeUnpin for GepField
impl UnwindSafe for GepField
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