Struct solstice::Geometry[][src]

pub struct Geometry<M> {
    pub mesh: M,
    pub draw_range: Range<usize>,
    pub draw_mode: DrawMode,
    pub instance_count: u32,
}

Fields

mesh: Mdraw_range: Range<usize>draw_mode: DrawModeinstance_count: u32

Trait Implementations

impl<M: Clone> Clone for Geometry<M>[src]

impl<M: Debug> Debug for Geometry<M>[src]

impl<M: PartialEq> PartialEq<Geometry<M>> for Geometry<M>[src]

impl<M> StructuralPartialEq for Geometry<M>[src]

Auto Trait Implementations

impl<M> RefUnwindSafe for Geometry<M> where
    M: RefUnwindSafe

impl<M> Send for Geometry<M> where
    M: Send

impl<M> Sync for Geometry<M> where
    M: Sync

impl<M> Unpin for Geometry<M> where
    M: Unpin

impl<M> UnwindSafe for Geometry<M> where
    M: 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<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.