Struct iso7816::command::CommandView
source · pub struct CommandView<'a> {
pub p1: u8,
pub p2: u8,
pub extended: bool,
/* private fields */
}Expand description
Memory-efficient unowned version of Command
Fields§
§p1: u8§p2: u8§extended: boolImplementations§
source§impl<'a> CommandView<'a>
impl<'a> CommandView<'a>
source§impl<'a> CommandView<'a>
impl<'a> CommandView<'a>
Trait Implementations§
source§impl<'a> Clone for CommandView<'a>
impl<'a> Clone for CommandView<'a>
source§fn clone(&self) -> CommandView<'a>
fn clone(&self) -> CommandView<'a>
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<'a> Debug for CommandView<'a>
impl<'a> Debug for CommandView<'a>
source§impl<'a, D: PartialEq<&'a [u8]>> PartialEq<CommandBuilder<D>> for CommandView<'a>
impl<'a, D: PartialEq<&'a [u8]>> PartialEq<CommandBuilder<D>> for CommandView<'a>
source§fn eq(&self, other: &CommandBuilder<D>) -> bool
fn eq(&self, other: &CommandBuilder<D>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a, D: PartialEq<&'a [u8]>> PartialEq<CommandView<'a>> for CommandBuilder<D>
impl<'a, D: PartialEq<&'a [u8]>> PartialEq<CommandView<'a>> for CommandBuilder<D>
source§fn eq(&self, other: &CommandView<'a>) -> bool
fn eq(&self, other: &CommandView<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> PartialEq for CommandView<'a>
impl<'a> PartialEq for CommandView<'a>
source§fn eq(&self, other: &CommandView<'a>) -> bool
fn eq(&self, other: &CommandView<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> TryFrom<&'a [u8]> for CommandView<'a>
impl<'a> TryFrom<&'a [u8]> for CommandView<'a>
impl<'a> Copy for CommandView<'a>
impl<'a> Eq for CommandView<'a>
impl<'a> StructuralEq for CommandView<'a>
impl<'a> StructuralPartialEq for CommandView<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CommandView<'a>
impl<'a> Send for CommandView<'a>
impl<'a> Sync for CommandView<'a>
impl<'a> Unpin for CommandView<'a>
impl<'a> UnwindSafe for CommandView<'a>
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