pub struct TableField {
pub slot: u16,
pub offset: u16,
pub value: Field,
}Expand description
One field of a table, at the slot and offset the projection assigned it.
Fields§
§slot: u16The vtable slot, which is the field’s position in declaration order.
offset: u16The field’s offset from the start of the table.
value: FieldThe value.
Trait Implementations§
Source§impl Clone for TableField
impl Clone for TableField
impl Copy for TableField
Source§impl Debug for TableField
impl Debug for TableField
Source§impl PartialEq for TableField
impl PartialEq for TableField
impl StructuralPartialEq for TableField
Auto Trait Implementations§
impl Freeze for TableField
impl RefUnwindSafe for TableField
impl Send for TableField
impl Sync for TableField
impl Unpin for TableField
impl UnsafeUnpin for TableField
impl UnwindSafe for TableField
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