#[non_exhaustive]pub struct TxConfig { /* private fields */ }Expand description
UHCI Tx Configuration
Implementations§
Source§impl TxConfig
 
impl TxConfig
Sourcepub fn with_idle_eof(self, idle_eof: bool) -> Self
 
pub fn with_idle_eof(self, idle_eof: bool) -> Self
Assign the given value to the idle_eof field.
Sourcepub fn idle_eof(&self) -> bool
 
pub fn idle_eof(&self) -> bool
If this is set to true UHCI will end the payload receiving process when UART has been in idle state.
Sourcepub fn with_len_eof(self, len_eof: bool) -> Self
 
pub fn with_len_eof(self, len_eof: bool) -> Self
Assign the given value to the len_eof field.
Trait Implementations§
impl Copy for TxConfig
Auto Trait Implementations§
impl Freeze for TxConfig
impl RefUnwindSafe for TxConfig
impl Send for TxConfig
impl Sync for TxConfig
impl Unpin for TxConfig
impl UnwindSafe for TxConfig
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)