[][src]Struct ggez::ContextBuilder

pub struct ContextBuilder { /* fields omitted */ }

A builder object for creating a Context.

Methods

impl ContextBuilder
[src]

Create a new ContextBuilder with default settings.

Sets the window setup settings.

Sets the window mode settings.

Sets the graphics backend.

Sets the modules configuration.

Sets all the config options, overriding any previous ones from window_setup(), window_mode(), and backend().

Add a new read-only filesystem path to the places to search for resources.

Specifies whether or not to load the conf.toml file if it exists and use its settings to override the provided values. Defaults to true which is usually what you want, but being able to fiddle with it is sometimes useful for debugging.

Build the Context.

Trait Implementations

impl PartialEq<ContextBuilder> for ContextBuilder
[src]

impl Clone for ContextBuilder
[src]

Performs copy-assignment from source. Read more

impl Debug for ContextBuilder
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T

impl<T> Same for T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,