Enum tetra::graphics::mesh::VertexWinding [−][src]
pub enum VertexWinding { Clockwise, CounterClockwise, }
Expand description
The ordering of the vertices in a piece of geometry.
Variants
The vertices are in clockwise order.
The vertices are in counter-clockwise order.
Implementations
impl VertexWinding
[src]
impl VertexWinding
[src]pub fn flipped(self) -> VertexWinding
[src]
pub fn flipped(self) -> VertexWinding
[src]Returns the opposite winding, compared to self
.
Trait Implementations
impl Clone for VertexWinding
[src]
impl Clone for VertexWinding
[src]fn clone(&self) -> VertexWinding
[src]
fn clone(&self) -> VertexWinding
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for VertexWinding
[src]
impl Debug for VertexWinding
[src]impl PartialEq<VertexWinding> for VertexWinding
[src]
impl PartialEq<VertexWinding> for VertexWinding
[src]impl Copy for VertexWinding
[src]
impl StructuralPartialEq for VertexWinding
[src]
Auto Trait Implementations
impl RefUnwindSafe for VertexWinding
impl Send for VertexWinding
impl Sync for VertexWinding
impl Unpin for VertexWinding
impl UnwindSafe for VertexWinding
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more