#[repr(u32)]pub enum IOSurfaceLockOptions {
ReadOnly = 1,
AvoidSync = 2,
}Expand description
Lock options for IOSurface
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IOSurfaceLockOptions
impl Clone for IOSurfaceLockOptions
Source§fn clone(&self) -> IOSurfaceLockOptions
fn clone(&self) -> IOSurfaceLockOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IOSurfaceLockOptions
impl Debug for IOSurfaceLockOptions
Source§impl Hash for IOSurfaceLockOptions
impl Hash for IOSurfaceLockOptions
Source§impl PartialEq for IOSurfaceLockOptions
impl PartialEq for IOSurfaceLockOptions
impl Copy for IOSurfaceLockOptions
impl Eq for IOSurfaceLockOptions
impl StructuralPartialEq for IOSurfaceLockOptions
Auto Trait Implementations§
impl Freeze for IOSurfaceLockOptions
impl RefUnwindSafe for IOSurfaceLockOptions
impl Send for IOSurfaceLockOptions
impl Sync for IOSurfaceLockOptions
impl Unpin for IOSurfaceLockOptions
impl UnwindSafe for IOSurfaceLockOptions
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