#[repr(C)]pub struct Register8 {
pub address: u8,
pub data: u8,
}Expand description
A single register read from or written to with an SPMI command that uses an 8-bit address.
Fields§
§address: u8§data: u8Trait Implementations§
Source§impl<'a, ___E> Encode<Register8, ___E> for &'a Register8where
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Register8, ___E> for &'a Register8where
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<Register8, ___E> for Register8where
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Register8, ___E> for Register8where
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Register8, Register8>
const COPY_OPTIMIZATION: CopyOptimization<Register8, Register8>
Source§impl FromWireRef<Register8> for Register8
impl FromWireRef<Register8> for Register8
Source§fn from_wire_ref(wire: &Register8) -> Register8
fn from_wire_ref(wire: &Register8) -> Register8
Converts the given reference to this type.
Source§impl Ord for Register8
impl Ord for Register8
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Register8
impl PartialOrd for Register8
impl Copy for Register8
impl Eq for Register8
impl StructuralPartialEq for Register8
Auto Trait Implementations§
impl Freeze for Register8
impl RefUnwindSafe for Register8
impl Send for Register8
impl Sync for Register8
impl Unpin for Register8
impl UnsafeUnpin for Register8
impl UnwindSafe for Register8
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]