pub struct ContextDescriptor { /* private fields */ }
Expand description
Information needed to create a context. Some APIs call this a “config” or a “pixel format”.
These are local to a device.
Trait Implementations§
source§impl Clone for ContextDescriptor
impl Clone for ContextDescriptor
source§fn clone(&self) -> ContextDescriptor
fn clone(&self) -> ContextDescriptor
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ContextDescriptor
impl RefUnwindSafe for ContextDescriptor
impl Send for ContextDescriptor
impl Sync for ContextDescriptor
impl Unpin for ContextDescriptor
impl UnwindSafe for ContextDescriptor
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