#[repr(C)]pub struct PamojaSx126xQuery {
pub command: PamojaSx126xCommand,
pub answer_len: u32,
}Expand description
A command the chip answers in the same SPI transaction.
Fields§
§command: PamojaSx126xCommandThe bytes to send, ending with the NOP during which the status byte comes back.
answer_len: u32How many bytes of answer to read after them.
Trait Implementations§
Source§impl Clone for PamojaSx126xQuery
impl Clone for PamojaSx126xQuery
Source§fn clone(&self) -> PamojaSx126xQuery
fn clone(&self) -> PamojaSx126xQuery
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 PamojaSx126xQuery
Source§impl Debug for PamojaSx126xQuery
impl Debug for PamojaSx126xQuery
impl Eq for PamojaSx126xQuery
Source§impl PartialEq for PamojaSx126xQuery
impl PartialEq for PamojaSx126xQuery
impl StructuralPartialEq for PamojaSx126xQuery
Auto Trait Implementations§
impl Freeze for PamojaSx126xQuery
impl RefUnwindSafe for PamojaSx126xQuery
impl Send for PamojaSx126xQuery
impl Sync for PamojaSx126xQuery
impl Unpin for PamojaSx126xQuery
impl UnsafeUnpin for PamojaSx126xQuery
impl UnwindSafe for PamojaSx126xQuery
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