#[repr(C)]pub struct R2(pub [u8; 17]);
Expand description
Represents the R2
response in SD mode.
Contains the CID
or CSD
register, including internal CRC7.
Tuple Fields§
§0: [u8; 17]
Implementations§
Source§impl R2
impl R2
Sourcepub const fn response_type(&self) -> ResponseType
pub const fn response_type(&self) -> ResponseType
Gets the response type for the R2.
Sourcepub const fn response_mode(&self) -> ResponseMode
pub const fn response_mode(&self) -> ResponseMode
Gets the response mode for the R2.
Trait Implementations§
impl Copy for R2
impl Eq for R2
impl StructuralPartialEq for R2
Auto Trait Implementations§
impl Freeze for R2
impl RefUnwindSafe for R2
impl Send for R2
impl Sync for R2
impl Unpin for R2
impl UnwindSafe for R2
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