pub struct Version(/* private fields */);Implementations§
Trait Implementations§
Source§impl<'a> GuestType<'a> for Version
impl<'a> GuestType<'a> for Version
Source§fn guest_size() -> u32
fn guest_size() -> u32
Returns the size, in bytes, of this type in the guest memory.
Source§fn guest_align() -> usize
fn guest_align() -> usize
Returns the required alignment of this type, in bytes, for both guest
and host memory.
Source§impl<'a> GuestTypeTransparent<'a> for Version
impl<'a> GuestTypeTransparent<'a> for Version
Source§impl TryFrom<u64> for Version
impl TryFrom<u64> for Version
Source§type Error = GuestError
type Error = GuestError
The type returned in the event of a conversion error.
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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