#[repr(C)]pub struct VersionAbi {
pub version: u32,
}Expand description
Carries only the ABI version. Used as input and output of commands that have no other payload.
Fields§
§version: u32Trait Implementations§
Source§impl Clone for VersionAbi
impl Clone for VersionAbi
Source§fn clone(&self) -> VersionAbi
fn clone(&self) -> VersionAbi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionAbi
impl Debug for VersionAbi
Source§impl Default for VersionAbi
impl Default for VersionAbi
Source§fn default() -> VersionAbi
fn default() -> VersionAbi
Returns the “default value” for a type. Read more
Source§impl PartialEq for VersionAbi
impl PartialEq for VersionAbi
Source§fn eq(&self, other: &VersionAbi) -> bool
fn eq(&self, other: &VersionAbi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VersionAbi
impl Eq for VersionAbi
impl PlainData for VersionAbi
impl StructuralPartialEq for VersionAbi
Auto Trait Implementations§
impl Freeze for VersionAbi
impl RefUnwindSafe for VersionAbi
impl Send for VersionAbi
impl Sync for VersionAbi
impl Unpin for VersionAbi
impl UnsafeUnpin for VersionAbi
impl UnwindSafe for VersionAbi
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