#[repr(C)]pub struct MapSpec {
pub key: i32,
pub value: i32,
}Expand description
Map key types are restricted to primitives. Enforced at schema construction time, not by the WIT type itself.
Fields§
§key: i32§value: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapSpec
impl RefUnwindSafe for MapSpec
impl Send for MapSpec
impl Sync for MapSpec
impl Unpin for MapSpec
impl UnsafeUnpin for MapSpec
impl UnwindSafe for MapSpec
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