#[repr(transparent)]pub struct Mask(pub u32);Expand description
Select which channels are to be used.
Tuple Fields§
§0: u32Implementations§
Source§impl Mask
impl Mask
pub const fn rx0enable(&self) -> bool
pub const fn set_rx0enable(&mut self, val: bool)
pub const fn rx1enable(&self) -> bool
pub const fn set_rx1enable(&mut self, val: bool)
pub const fn rx2enable(&self) -> bool
pub const fn set_rx2enable(&mut self, val: bool)
pub const fn rx3enable(&self) -> bool
pub const fn set_rx3enable(&mut self, val: bool)
pub const fn rx4enable(&self) -> bool
pub const fn set_rx4enable(&mut self, val: bool)
pub const fn rx5enable(&self) -> bool
pub const fn set_rx5enable(&mut self, val: bool)
pub const fn rx6enable(&self) -> bool
pub const fn set_rx6enable(&mut self, val: bool)
pub const fn rx7enable(&self) -> bool
pub const fn set_rx7enable(&mut self, val: bool)
pub const fn tx0enable(&self) -> bool
pub const fn set_tx0enable(&mut self, val: bool)
pub const fn tx1enable(&self) -> bool
pub const fn set_tx1enable(&mut self, val: bool)
pub const fn tx2enable(&self) -> bool
pub const fn set_tx2enable(&mut self, val: bool)
pub const fn tx3enable(&self) -> bool
pub const fn set_tx3enable(&mut self, val: bool)
pub const fn tx4enable(&self) -> bool
pub const fn set_tx4enable(&mut self, val: bool)
pub const fn tx5enable(&self) -> bool
pub const fn set_tx5enable(&mut self, val: bool)
pub const fn tx6enable(&self) -> bool
pub const fn set_tx6enable(&mut self, val: bool)
pub const fn tx7enable(&self) -> bool
pub const fn set_tx7enable(&mut self, val: bool)
Trait Implementations§
impl Copy for Mask
impl Eq for Mask
impl StructuralPartialEq for Mask
Auto Trait Implementations§
impl Freeze for Mask
impl RefUnwindSafe for Mask
impl Send for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnwindSafe for Mask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)