[][src]Struct geng_core::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

impl !Send for Geng

impl !Sync for Geng

impl Unpin for Geng

impl !UnwindSafe for Geng

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

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>,