#[repr(C)]pub struct MapDef {
pub vtable: &'static MapVTable,
pub k: fn() -> &'static Shape,
pub v: fn() -> &'static Shape,
}
Expand description
Fields for map types
Fields§
§vtable: &'static MapVTable
vtable for interacting with the map
k: fn() -> &'static Shape
shape of the keys in the map
v: fn() -> &'static Shape
shape of the values in the map
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapDef
impl RefUnwindSafe for MapDef
impl Send for MapDef
impl Sync for MapDef
impl Unpin for MapDef
impl UnwindSafe for MapDef
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