Enum PipelineVertexFormat
#[non_exhaustive]pub enum PipelineVertexFormat {
PositionTexColor,
}Expand description
The vertex data a pipeline’s draws carry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PositionTexColor
A position, a texture coordinate and a colour: what PipelineQuad gives.
Trait Implementations§
§impl Clone for PipelineVertexFormat
impl Clone for PipelineVertexFormat
§fn clone(&self) -> PipelineVertexFormat
fn clone(&self) -> PipelineVertexFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PipelineVertexFormat
§impl Debug for PipelineVertexFormat
impl Debug for PipelineVertexFormat
impl Eq for PipelineVertexFormat
§impl PartialEq for PipelineVertexFormat
impl PartialEq for PipelineVertexFormat
impl StructuralPartialEq for PipelineVertexFormat
Auto Trait Implementations§
impl Freeze for PipelineVertexFormat
impl RefUnwindSafe for PipelineVertexFormat
impl Send for PipelineVertexFormat
impl Sync for PipelineVertexFormat
impl Unpin for PipelineVertexFormat
impl UnsafeUnpin for PipelineVertexFormat
impl UnwindSafe for PipelineVertexFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more