#[repr(i32)]pub enum Mode {
Unspecified = 0,
Continuous = 1,
Active = 2,
}
Variants§
Unspecified = 0
Continuous = 1
Default mode (applied by SurfaceFlinger if no mode is specified). SurfaceFlinger writes its internal ring buffer of transactions every time the data source is flushed. The ring buffer contains the SurfaceFlinger’s initial state and the latest transactions.
Active = 2
SurfaceFlinger writes the initial state and then each incoming transaction until the data source is stopped.
Implementations§
Trait Implementations§
Source§impl Ord for Mode
impl Ord for Mode
Source§impl PartialOrd for Mode
impl PartialOrd for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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
)