pub struct IoTypeDetails {
pub recommended_capacity: u32,
pub alignment: Alignment,
}Fields§
§recommended_capacity: u32Recommended capacity that must be allocated by the host.
If actual data is larger, it will be passed down to the guest as it is, if smaller than the host must allocate the recommended capacity for guest anyway.
alignment: AlignmentAlignment of the type
Implementations§
Trait Implementations§
Source§impl Clone for IoTypeDetails
impl Clone for IoTypeDetails
impl Copy for IoTypeDetails
Auto Trait Implementations§
impl Forget for IoTypeDetails
impl Freeze for IoTypeDetails
impl RefUnwindSafe for IoTypeDetails
impl Send for IoTypeDetails
impl Sync for IoTypeDetails
impl Unpin for IoTypeDetails
impl UnsafeUnpin for IoTypeDetails
impl UnwindSafe for IoTypeDetails
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