#[repr(C)]pub struct PwmVersionAbi {
pub version: u16,
pub reserved: u16,
}Expand description
Carries only the ABI version and a reserved field. Input of GET_INFO.
Fields§
§version: u16§reserved: u16Trait Implementations§
Source§impl Clone for PwmVersionAbi
impl Clone for PwmVersionAbi
Source§fn clone(&self) -> PwmVersionAbi
fn clone(&self) -> PwmVersionAbi
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 PwmVersionAbi
impl Debug for PwmVersionAbi
Source§impl Default for PwmVersionAbi
impl Default for PwmVersionAbi
Source§fn default() -> PwmVersionAbi
fn default() -> PwmVersionAbi
Returns the “default value” for a type. Read more
Source§impl PartialEq for PwmVersionAbi
impl PartialEq for PwmVersionAbi
Source§fn eq(&self, other: &PwmVersionAbi) -> bool
fn eq(&self, other: &PwmVersionAbi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PwmVersionAbi
impl Eq for PwmVersionAbi
impl PlainData for PwmVersionAbi
impl StructuralPartialEq for PwmVersionAbi
Auto Trait Implementations§
impl Freeze for PwmVersionAbi
impl RefUnwindSafe for PwmVersionAbi
impl Send for PwmVersionAbi
impl Sync for PwmVersionAbi
impl Unpin for PwmVersionAbi
impl UnsafeUnpin for PwmVersionAbi
impl UnwindSafe for PwmVersionAbi
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