Struct End
Source #[repr(C)]
pub struct End();
Expand description
Represents the ending byte of card responses in SD mode.
Gets the bit value for End.
Getter for end_bit field of End.
The LSB of the response, should always be 1
.
Setter for end_bit field of End.
The LSB of the response, should always be 1
.
Represents the default for the End.
Converts a u8
into an End.
§Note
Masks the val
to ensure a valid End value.
Attempts to convert a u8
into a End.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
The type returned in the event of a conversion error.
Performs the conversion.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dest
.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.