pub struct P2pReadNdefLowLevel {
pub ndef_length: u16,
pub ndef_chunk_offset: u16,
pub ndef_chunk_data: [u8; 60],
}
Fields§
§ndef_length: u16
§ndef_chunk_offset: u16
§ndef_chunk_data: [u8; 60]
Trait Implementations§
Source§impl Clone for P2pReadNdefLowLevel
impl Clone for P2pReadNdefLowLevel
Source§fn clone(&self) -> P2pReadNdefLowLevel
fn clone(&self) -> P2pReadNdefLowLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl FromByteSlice for P2pReadNdefLowLevel
impl FromByteSlice for P2pReadNdefLowLevel
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> P2pReadNdefLowLevel
fn from_le_byte_slice(bytes: &[u8]) -> P2pReadNdefLowLevel
Deserialize the implementing type from a byte slice.
Source§impl LowLevelRead<u8, P2pReadNdefResult> for P2pReadNdefLowLevel
impl LowLevelRead<u8, P2pReadNdefResult> for P2pReadNdefLowLevel
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u8] ⓘ
fn get_result(&self) -> P2pReadNdefResult
impl Copy for P2pReadNdefLowLevel
Auto Trait Implementations§
impl Freeze for P2pReadNdefLowLevel
impl RefUnwindSafe for P2pReadNdefLowLevel
impl Send for P2pReadNdefLowLevel
impl Sync for P2pReadNdefLowLevel
impl Unpin for P2pReadNdefLowLevel
impl UnwindSafe for P2pReadNdefLowLevel
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