#[repr(u64)]pub enum NSBackingStoreType {
Retained = 0,
Nonretained = 1,
Buffered = 2,
}
Expand description
Constants that specify how the window device buffers the drawing done in a window.
Variants§
Retained = 0
👎Deprecated
The window uses a buffer, but draws directly to the screen where possible and to the buffer for obscured portions.
Nonretained = 1
👎Deprecated
The window draws directly to the screen without using any buffer.
Buffered = 2
The window renders all drawing into a display buffer and then flushes it to the screen.
Trait Implementations§
Source§impl Clone for NSBackingStoreType
impl Clone for NSBackingStoreType
Source§fn clone(&self) -> NSBackingStoreType
fn clone(&self) -> NSBackingStoreType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSBackingStoreType
impl Debug for NSBackingStoreType
Source§impl PartialEq for NSBackingStoreType
impl PartialEq for NSBackingStoreType
impl Copy for NSBackingStoreType
impl Eq for NSBackingStoreType
impl StructuralPartialEq for NSBackingStoreType
Auto Trait Implementations§
impl Freeze for NSBackingStoreType
impl RefUnwindSafe for NSBackingStoreType
impl Send for NSBackingStoreType
impl Sync for NSBackingStoreType
impl Unpin for NSBackingStoreType
impl UnwindSafe for NSBackingStoreType
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