#[repr(C)]pub struct PamojaSx126xCommand {
pub bytes: [u8; 10],
pub len: u8,
}Expand description
The bytes of one SX126x command, in the order the chip receives them.
Fields§
§bytes: [u8; 10]The opcode and its parameters; only the first len bytes are the command.
len: u8How many bytes the command takes.
Trait Implementations§
Source§impl Clone for PamojaSx126xCommand
impl Clone for PamojaSx126xCommand
Source§fn clone(&self) -> PamojaSx126xCommand
fn clone(&self) -> PamojaSx126xCommand
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 moreimpl Copy for PamojaSx126xCommand
Source§impl Debug for PamojaSx126xCommand
impl Debug for PamojaSx126xCommand
impl Eq for PamojaSx126xCommand
Source§impl PartialEq for PamojaSx126xCommand
impl PartialEq for PamojaSx126xCommand
impl StructuralPartialEq for PamojaSx126xCommand
Auto Trait Implementations§
impl Freeze for PamojaSx126xCommand
impl RefUnwindSafe for PamojaSx126xCommand
impl Send for PamojaSx126xCommand
impl Sync for PamojaSx126xCommand
impl Unpin for PamojaSx126xCommand
impl UnsafeUnpin for PamojaSx126xCommand
impl UnwindSafe for PamojaSx126xCommand
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