Struct cec_rs::CecDatapacket
source · pub struct CecDatapacket(pub ArrayVec<u8, 64>);
Tuple Fields§
§0: ArrayVec<u8, 64>
Trait Implementations§
source§impl Clone for CecDatapacket
impl Clone for CecDatapacket
source§fn clone(&self) -> CecDatapacket
fn clone(&self) -> CecDatapacket
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 Debug for CecDatapacket
impl Debug for CecDatapacket
source§impl From<CecDatapacket> for cec_datapacket
impl From<CecDatapacket> for cec_datapacket
source§fn from(datapacket: CecDatapacket) -> cec_datapacket
fn from(datapacket: CecDatapacket) -> cec_datapacket
Converts to this type from the input type.
source§impl From<cec_datapacket> for CecDatapacket
impl From<cec_datapacket> for CecDatapacket
source§fn from(datapacket: cec_datapacket) -> CecDatapacket
fn from(datapacket: cec_datapacket) -> CecDatapacket
Converts to this type from the input type.
source§impl PartialEq<CecDatapacket> for CecDatapacket
impl PartialEq<CecDatapacket> for CecDatapacket
source§fn eq(&self, other: &CecDatapacket) -> bool
fn eq(&self, other: &CecDatapacket) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CecDatapacket
impl StructuralEq for CecDatapacket
impl StructuralPartialEq for CecDatapacket
Auto Trait Implementations§
impl RefUnwindSafe for CecDatapacket
impl Send for CecDatapacket
impl Sync for CecDatapacket
impl Unpin for CecDatapacket
impl UnwindSafe for CecDatapacket
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