Struct truck_polymesh::StandardVertex
source · Expand description
Index vertex of a face of the polygon mesh
Fields§
§pos: usize
index of vertex’s position
uv: Option<usize>
index of vertex’s texture coordinate
nor: Option<usize>
index of vertex’s normal
Trait Implementations§
source§impl Attributes<StandardVertex> for StandardAttributes
impl Attributes<StandardVertex> for StandardAttributes
§type Output = StandardAttribute
type Output = StandardAttribute
attribution
source§impl Clone for StandardVertex
impl Clone for StandardVertex
source§fn clone(&self) -> StandardVertex
fn clone(&self) -> StandardVertex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StandardVertex
impl Debug for StandardVertex
source§impl<'de> Deserialize<'de> for StandardVertex
impl<'de> Deserialize<'de> for StandardVertex
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&StandardVertex> for StandardVertex
impl From<&StandardVertex> for StandardVertex
source§fn from(v: &StandardVertex) -> StandardVertex
fn from(v: &StandardVertex) -> StandardVertex
Converts to this type from the input type.
source§impl From<&usize> for StandardVertex
impl From<&usize> for StandardVertex
source§fn from(v: &usize) -> StandardVertex
fn from(v: &usize) -> StandardVertex
Converts to this type from the input type.
source§impl From<usize> for StandardVertex
impl From<usize> for StandardVertex
source§fn from(idx: usize) -> StandardVertex
fn from(idx: usize) -> StandardVertex
Converts to this type from the input type.
source§impl Hash for StandardVertex
impl Hash for StandardVertex
source§impl PartialEq<StandardVertex> for StandardVertex
impl PartialEq<StandardVertex> for StandardVertex
source§fn eq(&self, other: &StandardVertex) -> bool
fn eq(&self, other: &StandardVertex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.