Struct csfml_window_sys::sfContextSettings [] [src]

pub struct sfContextSettings {
    pub depth_bits: u32,
    pub stencil_bits: u32,
    pub antialiasing_level: u32,
    pub major_version: u32,
    pub minor_version: u32,
    pub attribute_flags: u32,
}

Fields

depth_bits: u32

Bits of the depth buffer.

stencil_bits: u32

Bits of the stencil buffer.

antialiasing_level: u32

Level of antialiasing.

major_version: u32

Major number of the context version

minor_version: u32

Minor number of the context version

attribute_flags: u32

The attribute flags to create the context with

Trait Implementations

impl Copy for sfContextSettings
[src]

impl Debug for sfContextSettings
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Ord for sfContextSettings
[src]

fn cmp(&self, __arg_0: &sfContextSettings) -> Ordering

This method returns an Ordering between self and other. Read more

impl PartialOrd for sfContextSettings
[src]

fn partial_cmp(&self, __arg_0: &sfContextSettings) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, __arg_0: &sfContextSettings) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, __arg_0: &sfContextSettings) -> 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: &sfContextSettings) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, __arg_0: &sfContextSettings) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for sfContextSettings
[src]

impl PartialEq for sfContextSettings
[src]

fn eq(&self, __arg_0: &sfContextSettings) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &sfContextSettings) -> bool

This method tests for !=.

impl Clone for sfContextSettings
[src]

fn clone(&self) -> sfContextSettings

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