#[repr(C)]pub enum Response {
R1(R1),
R2(R2),
R3(R3),
R4(R4),
R5(R5),
R7(R7),
}
Expand description
Represents the SPI-mode response types.
Variants§
Implementations§
Source§impl Response
impl Response
Sourcepub const fn response_type(&self) -> ResponseType
pub const fn response_type(&self) -> ResponseType
Gets the response type for the Response.
Sourcepub const fn response_mode(&self) -> ResponseMode
pub const fn response_mode(&self) -> ResponseMode
Gets the response mode for the Response.
Trait Implementations§
impl Copy for Response
impl Eq for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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