#[repr(C, i32)]pub enum ContextAttribute {
End = 0,
MajorVersion(i32),
MinorVersion(i32),
ProfileMask(ProfileMask),
Flags(ContextFlags),
}Expand description
Various attributes that can be used in creating a context.
Variants§
Trait Implementations§
Source§impl Clone for ContextAttribute
impl Clone for ContextAttribute
Source§fn clone(&self) -> ContextAttribute
fn clone(&self) -> ContextAttribute
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 PartialEq for ContextAttribute
impl PartialEq for ContextAttribute
impl Copy for ContextAttribute
impl Eq for ContextAttribute
impl StructuralPartialEq for ContextAttribute
Auto Trait Implementations§
impl Freeze for ContextAttribute
impl RefUnwindSafe for ContextAttribute
impl Send for ContextAttribute
impl Sync for ContextAttribute
impl Unpin for ContextAttribute
impl UnwindSafe for ContextAttribute
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