pub struct FormatConfig {
pub prefix_width: Width,
pub addr_width: Width,
pub suffix_width: Width,
pub dummy_width: Width,
pub data_width: Width,
pub prefix_len: bool,
pub suffix_len: bool,
}Expand description
Format configuration for read/write operations.
Fields§
§prefix_width: WidthWidth of command prefix phase
addr_width: WidthWidth of address phase
suffix_width: WidthWidth of command suffix phase
dummy_width: WidthWidth of dummy/turnaround phase
data_width: WidthWidth of data phase
prefix_len: boolLength of prefix (None or 8 bits)
suffix_len: boolLength of suffix (None or 8 bits)
Trait Implementations§
Source§impl Clone for FormatConfig
impl Clone for FormatConfig
Source§fn clone(&self) -> FormatConfig
fn clone(&self) -> FormatConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FormatConfig
impl RefUnwindSafe for FormatConfig
impl Send for FormatConfig
impl Sync for FormatConfig
impl Unpin for FormatConfig
impl UnsafeUnpin for FormatConfig
impl UnwindSafe for FormatConfig
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