[][src]Struct geng::Geng

pub struct Geng { /* fields omitted */ }

Implementations

impl Geng[src]

pub fn new(options: ContextOptions) -> Self[src]

pub fn window(&self) -> &Window[src]

pub fn ugli(&self) -> &Rc<Ugli>[src]

pub fn shader_lib(&self) -> &ShaderLib[src]

pub fn draw_2d(&self) -> &Rc<Draw2D>[src]

pub fn default_font(&self) -> &Rc<Font>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Geng[src]

impl !Send for Geng[src]

impl !Sync for Geng[src]

impl Unpin for Geng[src]

impl !UnwindSafe for Geng[src]

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<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,