pub struct Weekdays { /* private fields */ }Expand description
Weekdays register. Weekday value (0-6, user-definable assignment).
Implementations§
Source§impl Weekdays
impl Weekdays
Sourcepub fn weekday(&self) -> u8
pub fn weekday(&self) -> u8
Read the weekday field of the register.
Weekday value (0-6). Default assignment: 0=Sunday, 1=Monday, …, 6=Saturday (can be reassigned by user)
Sourcepub fn set_weekday(&mut self, value: u8)
pub fn set_weekday(&mut self, value: u8)
Write the weekday field of the register.
Weekday value (0-6). Default assignment: 0=Sunday, 1=Monday, …, 6=Saturday (can be reassigned by user)
Trait Implementations§
Source§impl BitAndAssign for Weekdays
impl BitAndAssign for Weekdays
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for Weekdays
impl BitOrAssign for Weekdays
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for Weekdays
impl BitXorAssign for Weekdays
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl From<Weekdays> for FieldSetValue
impl From<Weekdays> for FieldSetValue
impl Copy for Weekdays
impl Eq for Weekdays
impl StructuralPartialEq for Weekdays
Auto Trait Implementations§
impl Freeze for Weekdays
impl RefUnwindSafe for Weekdays
impl Send for Weekdays
impl Sync for Weekdays
impl Unpin for Weekdays
impl UnsafeUnpin for Weekdays
impl UnwindSafe for Weekdays
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