[][src]Struct covalent::Covalent

pub struct Covalent { /* fields omitted */ }

The Covalent structure contains all the information required to render a scene.

Implementations

impl Covalent[src]

pub fn new(hints: DisplayHints, rb: Box<dyn RenderBackend>) -> Covalent[src]

Construct a Covalent context from the given backend. Only create a single context during the lifetime of your application, and only create this context on the main thread!

pub fn execute(self)[src]

Executes the application defined by this Covalent context.

Auto Trait Implementations

impl !RefUnwindSafe for Covalent

impl !Send for Covalent

impl !Sync for Covalent

impl Unpin for Covalent

impl !UnwindSafe for Covalent

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