Struct sfml::window::ContextSettings
[−]
[src]
pub struct ContextSettings(pub sfContextSettings);
OpenGL context settings
Structure defining the window's creation settings
Trait Implementations
impl Copy for ContextSettings
[src]
impl Debug for ContextSettings
[src]
impl Ord for ContextSettings
[src]
fn cmp(&self, __arg_0: &ContextSettings) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialOrd for ContextSettings
[src]
fn partial_cmp(&self, __arg_0: &ContextSettings) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ContextSettings) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ContextSettings) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ContextSettings) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ContextSettings) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Eq for ContextSettings
[src]
impl PartialEq for ContextSettings
[src]
fn eq(&self, __arg_0: &ContextSettings) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContextSettings) -> bool
This method tests for !=
.
impl Clone for ContextSettings
[src]
fn clone(&self) -> ContextSettings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for ContextSettings
[src]
Create a default ContextSettings
Default values:
depth_bits
: 0stencil_bits
: 0antialiasing_level
: 0major_version
: 2minor_version
: 0attribute_flags
: DEFAULT
fn default() -> ContextSettings
Returns the "default value" for a type. Read more