pub struct NonOverloadedIndirectInterface {
pub interface_file_id: u8,
pub data: Box<[u8]>,
}
Expand description
Non Dash7 interface
Fields§
§interface_file_id: u8
§data: Box<[u8]>
Trait Implementations§
source§impl Clone for NonOverloadedIndirectInterface
impl Clone for NonOverloadedIndirectInterface
source§fn clone(&self) -> NonOverloadedIndirectInterface
fn clone(&self) -> NonOverloadedIndirectInterface
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 Codec for NonOverloadedIndirectInterface
impl Codec for NonOverloadedIndirectInterface
type Error = StdError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
source§impl From<NonOverloadedIndirectInterface> for NonOverloadedIndirectInterface
impl From<NonOverloadedIndirectInterface> for NonOverloadedIndirectInterface
source§fn from(v: NonOverloadedIndirectInterface) -> Self
fn from(v: NonOverloadedIndirectInterface) -> Self
Converts to this type from the input type.
source§impl From<NonOverloadedIndirectInterface> for NonOverloadedIndirectInterface
impl From<NonOverloadedIndirectInterface> for NonOverloadedIndirectInterface
source§fn from(v: NonOverloadedIndirectInterface) -> Self
fn from(v: NonOverloadedIndirectInterface) -> Self
Converts to this type from the input type.
source§impl PartialEq for NonOverloadedIndirectInterface
impl PartialEq for NonOverloadedIndirectInterface
source§fn eq(&self, other: &NonOverloadedIndirectInterface) -> bool
fn eq(&self, other: &NonOverloadedIndirectInterface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NonOverloadedIndirectInterface
Auto Trait Implementations§
impl Freeze for NonOverloadedIndirectInterface
impl RefUnwindSafe for NonOverloadedIndirectInterface
impl Send for NonOverloadedIndirectInterface
impl Sync for NonOverloadedIndirectInterface
impl Unpin for NonOverloadedIndirectInterface
impl UnwindSafe for NonOverloadedIndirectInterface
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