pub struct IoTypeDetails {
pub recommended_capacity: u32,
pub alignment: NonZeroU8,
}
Fields§
§recommended_capacity: u32
Recommended 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 host must allocate the recommended capacity for guest anyway.
alignment: NonZeroU8
Alignment of the type
Trait Implementations§
Source§impl Clone for IoTypeDetails
impl Clone for IoTypeDetails
Source§fn clone(&self) -> IoTypeDetails
fn clone(&self) -> IoTypeDetails
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IoTypeDetails
impl Debug for IoTypeDetails
impl Copy for IoTypeDetails
Auto Trait Implementations§
impl Freeze for IoTypeDetails
impl RefUnwindSafe for IoTypeDetails
impl Send for IoTypeDetails
impl Sync for IoTypeDetails
impl Unpin 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