Struct fyrox_math::TriangleDefinition
source · #[repr(C)]pub struct TriangleDefinition(pub [u32; 3]);
Tuple Fields§
§0: [u32; 3]
Implementations§
Trait Implementations§
source§impl AsMut<[u32]> for TriangleDefinition
impl AsMut<[u32]> for TriangleDefinition
source§impl AsRef<[u32]> for TriangleDefinition
impl AsRef<[u32]> for TriangleDefinition
source§impl Clone for TriangleDefinition
impl Clone for TriangleDefinition
source§fn clone(&self) -> TriangleDefinition
fn clone(&self) -> TriangleDefinition
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 TriangleDefinition
impl Debug for TriangleDefinition
source§impl Default for TriangleDefinition
impl Default for TriangleDefinition
source§fn default() -> TriangleDefinition
fn default() -> TriangleDefinition
Returns the “default value” for a type. Read more
source§impl Hash for TriangleDefinition
impl Hash for TriangleDefinition
source§impl Index<usize> for TriangleDefinition
impl Index<usize> for TriangleDefinition
source§impl IndexMut<usize> for TriangleDefinition
impl IndexMut<usize> for TriangleDefinition
source§impl PartialEq for TriangleDefinition
impl PartialEq for TriangleDefinition
source§fn eq(&self, other: &TriangleDefinition) -> bool
fn eq(&self, other: &TriangleDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TriangleDefinition
impl Eq for TriangleDefinition
impl StructuralPartialEq for TriangleDefinition
Auto Trait Implementations§
impl Freeze for TriangleDefinition
impl RefUnwindSafe for TriangleDefinition
impl Send for TriangleDefinition
impl Sync for TriangleDefinition
impl Unpin for TriangleDefinition
impl UnwindSafe for TriangleDefinition
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
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.