#[repr(u64)]pub enum PixelBufferLockFlags {
ReadOnly = 1,
}Expand description
Lock options for pixel buffer access
Specifies the access mode when locking a pixel buffer.
Variants§
ReadOnly = 1
Read-only access to the buffer
Use this flag when you only need to read pixel data, not modify it. This is the most common use case for screen capture.
Implementations§
Trait Implementations§
Source§impl Clone for PixelBufferLockFlags
impl Clone for PixelBufferLockFlags
Source§fn clone(&self) -> PixelBufferLockFlags
fn clone(&self) -> PixelBufferLockFlags
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 PixelBufferLockFlags
impl Debug for PixelBufferLockFlags
Source§impl Hash for PixelBufferLockFlags
impl Hash for PixelBufferLockFlags
Source§impl PartialEq for PixelBufferLockFlags
impl PartialEq for PixelBufferLockFlags
impl Copy for PixelBufferLockFlags
impl Eq for PixelBufferLockFlags
impl StructuralPartialEq for PixelBufferLockFlags
Auto Trait Implementations§
impl Freeze for PixelBufferLockFlags
impl RefUnwindSafe for PixelBufferLockFlags
impl Send for PixelBufferLockFlags
impl Sync for PixelBufferLockFlags
impl Unpin for PixelBufferLockFlags
impl UnwindSafe for PixelBufferLockFlags
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