#[non_exhaustive]pub enum FenceAction {
Arm {
property_id: u32,
},
CpuWait,
}Expand description
What to do with a layer’s acquire fence, given what its plane can take.
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.
Arm
Hand the descriptor to KMS as IN_FENCE_FD.
CpuWait
The plane cannot take one, so the caller has to wait before committing.
Trait Implementations§
Source§impl Clone for FenceAction
impl Clone for FenceAction
impl Copy for FenceAction
Source§impl Debug for FenceAction
impl Debug for FenceAction
impl Eq for FenceAction
Source§impl PartialEq for FenceAction
impl PartialEq for FenceAction
impl StructuralPartialEq for FenceAction
Auto Trait Implementations§
impl Freeze for FenceAction
impl RefUnwindSafe for FenceAction
impl Send for FenceAction
impl Sync for FenceAction
impl Unpin for FenceAction
impl UnsafeUnpin for FenceAction
impl UnwindSafe for FenceAction
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