Struct grafix_toolbox::GL::mesh::Mesh [−][src]
pub struct Mesh<I, C, T, N> {
pub vao: Vao<I>,
pub buff: (IdxArr<I>, AttrArr<C>, Option<AttrArr<T>>, AttrArr<N>),
pub draw: (u32, GLenum),
}Fields
vao: Vao<I>buff: (IdxArr<I>, AttrArr<C>, Option<AttrArr<T>>, AttrArr<N>)draw: (u32, GLenum)Implementations
Trait Implementations
fn to_trait(self) -> Box<dyn AnyMesh>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
A: Allocator + 'static,
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;[src]Auto Trait Implementations
impl<I, C, T, N> RefUnwindSafe for Mesh<I, C, T, N> where
C: RefUnwindSafe,
I: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe, impl<I, C, T, N> UnwindSafe for Mesh<I, C, T, N> where
C: UnwindSafe,
I: UnwindSafe,
N: UnwindSafe,
T: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> boolChecks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SSUse with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SPThe inclusion map: converts self to the equivalent element of its superset.
pub fn vzip(self) -> V