#[repr(C)]pub struct sfContextSettings {
pub depthBits: c_uint,
pub stencilBits: c_uint,
pub antialiasingLevel: c_uint,
pub majorVersion: c_uint,
pub minorVersion: c_uint,
pub attributeFlags: sfUint32,
pub sRgbCapable: sfBool,
}
Fields§
§depthBits: c_uint
§stencilBits: c_uint
§antialiasingLevel: c_uint
§majorVersion: c_uint
§minorVersion: c_uint
§attributeFlags: sfUint32
§sRgbCapable: sfBool
Trait Implementations§
Source§impl Clone for sfContextSettings
impl Clone for sfContextSettings
Source§fn clone(&self) -> sfContextSettings
fn clone(&self) -> sfContextSettings
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 sfContextSettings
impl Debug for sfContextSettings
Source§impl Hash for sfContextSettings
impl Hash for sfContextSettings
Source§impl Ord for sfContextSettings
impl Ord for sfContextSettings
Source§fn cmp(&self, other: &sfContextSettings) -> Ordering
fn cmp(&self, other: &sfContextSettings) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for sfContextSettings
impl PartialEq for sfContextSettings
Source§impl PartialOrd for sfContextSettings
impl PartialOrd for sfContextSettings
impl Copy for sfContextSettings
impl Eq for sfContextSettings
impl StructuralPartialEq for sfContextSettings
Auto Trait Implementations§
impl Freeze for sfContextSettings
impl RefUnwindSafe for sfContextSettings
impl Send for sfContextSettings
impl Sync for sfContextSettings
impl Unpin for sfContextSettings
impl UnwindSafe for sfContextSettings
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