Enum luminance::vertex::VertexInstancing
source · [−]pub enum VertexInstancing {
On,
Off,
}
Expand description
Should vertex instancing be used for a vertex attribute?
Enabling this is done per attribute but if you enable it for a single attribute of a struct, it should be enabled for all others (interleaved vertex instancing is not supported).
Variants
On
Use vertex instancing.
Off
Disable vertex instancing.
Trait Implementations
sourceimpl Clone for VertexInstancing
impl Clone for VertexInstancing
sourcefn clone(&self) -> VertexInstancing
fn clone(&self) -> VertexInstancing
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VertexInstancing
impl Debug for VertexInstancing
sourceimpl Hash for VertexInstancing
impl Hash for VertexInstancing
sourceimpl PartialEq<VertexInstancing> for VertexInstancing
impl PartialEq<VertexInstancing> for VertexInstancing
impl Copy for VertexInstancing
impl Eq for VertexInstancing
impl StructuralEq for VertexInstancing
impl StructuralPartialEq for VertexInstancing
Auto Trait Implementations
impl RefUnwindSafe for VertexInstancing
impl Send for VertexInstancing
impl Sync for VertexInstancing
impl Unpin for VertexInstancing
impl UnwindSafe for VertexInstancing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more