[][src]Struct beryllium::RendererFlags

#[repr(transparent)]
pub struct RendererFlags(_);

Flags for renderer creation.

See [Window::create_renderer](Window::create_renderer]

Methods

impl RendererFlags[src]

pub const fn accelerated(self) -> bool[src]

pub const fn with_accelerated(self, bit: bool) -> Self[src]

pub const fn present_vsync(self) -> bool[src]

pub const fn with_present_vsync(self, bit: bool) -> Self[src]

pub const fn software(self) -> bool[src]

pub const fn with_software(self, bit: bool) -> Self[src]

pub const fn target_texture(self) -> bool[src]

pub const fn with_target_texture(self, bit: bool) -> Self[src]

Trait Implementations

impl Clone for RendererFlags[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for RendererFlags[src]

impl Copy for RendererFlags[src]

impl Debug for RendererFlags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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