#[repr(transparent)]pub struct Selres(pub u32);
Expand description
NFC-A SEL_RES auto-response settings
Tuple Fields§
§0: u32
Implementations§
Source§impl Selres
impl Selres
Sourcepub const fn cascade(&self) -> Cascade
pub const fn cascade(&self) -> Cascade
Cascade bit (controlled by hardware, write has no effect)
Sourcepub fn set_cascade(&mut self, val: Cascade)
pub fn set_cascade(&mut self, val: Cascade)
Cascade bit (controlled by hardware, write has no effect)
Sourcepub const fn protocol(&self) -> u8
pub const fn protocol(&self) -> u8
Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification
Sourcepub fn set_protocol(&mut self, val: u8)
pub fn set_protocol(&mut self, val: u8)
Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification
Trait Implementations§
impl Copy for Selres
impl Eq for Selres
impl StructuralPartialEq for Selres
Auto Trait Implementations§
impl Freeze for Selres
impl RefUnwindSafe for Selres
impl Send for Selres
impl Sync for Selres
impl Unpin for Selres
impl UnwindSafe for Selres
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)