Struct block_mesh::UnorientedUnitQuad
source · [−]Expand description
A quad covering a single voxel (just a single block face), without an
orientation. To get the actual corners of the quad, combine with an
[OrientedBlockFace
].
Fields
minimum: [u32; 3]
The minimum voxel in the quad.
Trait Implementations
sourceimpl Clone for UnorientedUnitQuad
impl Clone for UnorientedUnitQuad
sourcefn clone(&self) -> UnorientedUnitQuad
fn clone(&self) -> UnorientedUnitQuad
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 UnorientedUnitQuad
impl Debug for UnorientedUnitQuad
sourceimpl From<UnorientedUnitQuad> for UnorientedQuad
impl From<UnorientedUnitQuad> for UnorientedQuad
sourcefn from(unit: UnorientedUnitQuad) -> Self
fn from(unit: UnorientedUnitQuad) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UnorientedUnitQuad> for UnorientedUnitQuad
impl PartialEq<UnorientedUnitQuad> for UnorientedUnitQuad
sourcefn eq(&self, other: &UnorientedUnitQuad) -> bool
fn eq(&self, other: &UnorientedUnitQuad) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnorientedUnitQuad) -> bool
fn ne(&self, other: &UnorientedUnitQuad) -> bool
This method tests for !=
.
impl Copy for UnorientedUnitQuad
impl Eq for UnorientedUnitQuad
impl StructuralEq for UnorientedUnitQuad
impl StructuralPartialEq for UnorientedUnitQuad
Auto Trait Implementations
impl RefUnwindSafe for UnorientedUnitQuad
impl Send for UnorientedUnitQuad
impl Sync for UnorientedUnitQuad
impl Unpin for UnorientedUnitQuad
impl UnwindSafe for UnorientedUnitQuad
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