[][src]Struct web_glitz::runtime::ContextOptionsBuilder

pub struct ContextOptionsBuilder<T> { /* fields omitted */ }

Implementations

impl<T> ContextOptionsBuilder<T>[src]

pub fn fail_if_major_performance_caveat(
    self,
    fail_if_major_performance_caveat: bool
) -> Self
[src]

pub fn preserve_drawbuffer(self, preserve_drawbuffer: bool) -> Self[src]

pub fn premultiplied_alpha(self, premultiplied_alpha: bool) -> Self[src]

pub fn power_preference(self, power_preference: PowerPreference) -> Self[src]

pub fn finish(self) -> ContextOptions<T>[src]

impl<C, Ds> ContextOptionsBuilder<DefaultMultisampleRenderTarget<C, Ds>>[src]

impl<Ds> ContextOptionsBuilder<DefaultMultisampleRenderTarget<DefaultRGBABuffer, Ds>>[src]

impl<C> ContextOptionsBuilder<DefaultMultisampleRenderTarget<C, ()>>[src]

impl<C> ContextOptionsBuilder<DefaultMultisampleRenderTarget<C, DefaultDepthBuffer>>[src]

impl<C> ContextOptionsBuilder<DefaultMultisampleRenderTarget<C, DefaultStencilBuffer>>[src]

impl<Ds> ContextOptionsBuilder<DefaultRenderTarget<DefaultRGBABuffer, Ds>>[src]

impl<C> ContextOptionsBuilder<DefaultRenderTarget<C, ()>>[src]

impl<C> ContextOptionsBuilder<DefaultRenderTarget<C, DefaultDepthBuffer>>[src]

impl<C> ContextOptionsBuilder<DefaultRenderTarget<C, DefaultStencilBuffer>>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ContextOptionsBuilder<T> where
    T: RefUnwindSafe

impl<T> Send for ContextOptionsBuilder<T> where
    T: Send

impl<T> Sync for ContextOptionsBuilder<T> where
    T: Sync

impl<T> Unpin for ContextOptionsBuilder<T> where
    T: Unpin

impl<T> UnwindSafe for ContextOptionsBuilder<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

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.