pub struct PartialBackupFlags<const MASK: u32>(/* private fields */);Expand description
Partial builder struct
Implementations§
Source§impl PartialBackupFlags<0>
impl PartialBackupFlags<0>
pub const fn with_reserved(&self, value: u31) -> PartialBackupFlags<4294967294>
Source§impl PartialBackupFlags<4294967294>
impl PartialBackupFlags<4294967294>
Sourcepub const fn with_rtc_synchronized(
&self,
value: bool,
) -> PartialBackupFlags<4294967295>
pub const fn with_rtc_synchronized( &self, value: bool, ) -> PartialBackupFlags<4294967295>
When false, indicates that the time in the RTC register is not synchronized to the offset
that is read from disk. Upon first encounter with an external time source, the offset should
be captured and recorded to disk.
Source§impl PartialBackupFlags<4294967295>
impl PartialBackupFlags<4294967295>
Sourcepub const fn build(&self) -> BackupFlags
pub const fn build(&self) -> BackupFlags
Builds the bitfield from the values passed into this builder
Auto Trait Implementations§
impl<const MASK: u32> Freeze for PartialBackupFlags<MASK>
impl<const MASK: u32> RefUnwindSafe for PartialBackupFlags<MASK>
impl<const MASK: u32> Send for PartialBackupFlags<MASK>
impl<const MASK: u32> Sync for PartialBackupFlags<MASK>
impl<const MASK: u32> Unpin for PartialBackupFlags<MASK>
impl<const MASK: u32> UnwindSafe for PartialBackupFlags<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