pub struct VFieldDef {
pub offset: usize,
pub shape_handle: VShapeHandle,
}Expand description
A synthetic field for Kani verification.
Fields reference their type’s shape by handle (index) rather than containing the shape directly. This avoids recursive type definitions.
Fields§
§offset: usizeByte offset of this field within the struct.
shape_handle: VShapeHandleHandle to the shape of this field’s type.
Implementations§
Trait Implementations§
impl Copy for VFieldDef
impl Eq for VFieldDef
impl StructuralPartialEq for VFieldDef
Auto Trait Implementations§
impl Freeze for VFieldDef
impl RefUnwindSafe for VFieldDef
impl Send for VFieldDef
impl Sync for VFieldDef
impl Unpin for VFieldDef
impl UnsafeUnpin for VFieldDef
impl UnwindSafe for VFieldDef
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