#[non_exhaustive]#[repr(u8)]pub enum PageState {
Normal = 0,
Acquisition = 1,
ModeChange = 2,
Reserved(u8),
}Expand description
Page state as defined in Table 10.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Normal = 0
Normal case — page update.
Acquisition = 1
Acquisition point — page refresh.
ModeChange = 2
Mode change — new page.
Reserved(u8)
Reserved.
Implementations§
Trait Implementations§
impl Copy for PageState
impl Eq for PageState
impl StructuralPartialEq for PageState
Auto Trait Implementations§
impl Freeze for PageState
impl RefUnwindSafe for PageState
impl Send for PageState
impl Sync for PageState
impl Unpin for PageState
impl UnsafeUnpin for PageState
impl UnwindSafe for PageState
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