pub struct Cube;Implementations§
Trait Implementations§
Source§impl NormalIndexGenerator for Cube
impl NormalIndexGenerator for Cube
Source§impl NormalPolygonGenerator for Cube
impl NormalPolygonGenerator for Cube
Source§impl NormalVertexGenerator for Cube
impl NormalVertexGenerator for Cube
Source§impl PolygonGenerator for Cube
impl PolygonGenerator for Cube
Source§fn polygon_count(&self) -> usize
fn polygon_count(&self) -> usize
Gets the number of unique polygons that comprise a primitive.
Source§impl PositionIndexGenerator for Cube
impl PositionIndexGenerator for Cube
Source§impl PositionPolygonGenerator for Cube
impl PositionPolygonGenerator for Cube
Source§impl PositionVertexGenerator for Cube
impl PositionVertexGenerator for Cube
type Output = Triplet<ConstrainedFloat<f64, FiniteConstraint<f64>>>
fn vertex_with_position_from( &self, state: &Self::State, index: usize, ) -> Self::Output
Source§fn vertex_with_position_count(&self) -> usize
fn vertex_with_position_count(&self) -> usize
Gets the number of unique vertices with position data that comprise a primitive.
Source§impl UvMapPolygonGenerator for Cube
impl UvMapPolygonGenerator for Cube
impl Copy for Cube
Auto Trait Implementations§
impl Freeze for Cube
impl RefUnwindSafe for Cube
impl Send for Cube
impl Sync for Cube
impl Unpin for Cube
impl UnwindSafe for Cube
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromGeometry<T> for T
impl<T> FromGeometry<T> for T
fn from_geometry(other: T) -> T
Source§impl<G> IndicesForNormal for Gwhere
G: NormalIndexGenerator,
impl<G> IndicesForNormal for Gwhere
G: NormalIndexGenerator,
fn indices_for_normal( &self, ) -> Generate<'_, Self, (), <Self as NormalIndexGenerator>::Output> ⓘ
Source§impl<G> IndicesForPosition for Gwhere
G: PositionIndexGenerator,
impl<G> IndicesForPosition for Gwhere
G: PositionIndexGenerator,
fn indices_for_position( &self, ) -> Generate<'_, Self, (), <Self as PositionIndexGenerator>::Output> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> IntoGeometry<U> for Twhere
U: FromGeometry<T>,
impl<T, U> IntoGeometry<U> for Twhere
U: FromGeometry<T>,
fn into_geometry(self) -> U
Source§impl<T, U> IntoInteriorGeometry<U> for Twhere
U: FromInteriorGeometry<T>,
impl<T, U> IntoInteriorGeometry<U> for Twhere
U: FromInteriorGeometry<T>,
fn into_interior_geometry(self) -> U
Source§impl<G> PolygonsWithNormal for Gwhere
G: NormalPolygonGenerator,
impl<G> PolygonsWithNormal for Gwhere
G: NormalPolygonGenerator,
fn polygons_with_normal( &self, ) -> Generate<'_, Self, Self::State, <Self as NormalPolygonGenerator>::Output> ⓘ
fn polygons_with_normal_from( &self, state: Self::State, ) -> Generate<'_, Self, Self::State, <Self as NormalPolygonGenerator>::Output> ⓘ
Source§impl<G> PolygonsWithPosition for Gwhere
G: PositionPolygonGenerator,
impl<G> PolygonsWithPosition for Gwhere
G: PositionPolygonGenerator,
Source§fn polygons_with_position(
&self,
) -> Generate<'_, Self, Self::State, <Self as PositionPolygonGenerator>::Output> ⓘ
fn polygons_with_position( &self, ) -> Generate<'_, Self, Self::State, <Self as PositionPolygonGenerator>::Output> ⓘ
Provides an iterator over the set of unique polygons with position
data. Read more
Source§fn polygons_with_position_from(
&self,
state: Self::State,
) -> Generate<'_, Self, Self::State, <Self as PositionPolygonGenerator>::Output> ⓘ
fn polygons_with_position_from( &self, state: Self::State, ) -> Generate<'_, Self, Self::State, <Self as PositionPolygonGenerator>::Output> ⓘ
Provides an iterator over the set of unique polygons with position data
using the provided state. Read more
Source§impl<G> PolygonsWithUvMap for Gwhere
G: UvMapPolygonGenerator,
impl<G> PolygonsWithUvMap for Gwhere
G: UvMapPolygonGenerator,
Source§fn polygons_with_uv_map(
&self,
) -> Generate<'_, Self, Self::State, <Self as UvMapPolygonGenerator>::Output> ⓘ
fn polygons_with_uv_map( &self, ) -> Generate<'_, Self, Self::State, <Self as UvMapPolygonGenerator>::Output> ⓘ
Provides an iterator over the set of unique polygons with UV-mapping
data. Read more
Source§fn polygons_with_uv_map_from(
&self,
state: Self::State,
) -> Generate<'_, Self, Self::State, <Self as UvMapPolygonGenerator>::Output> ⓘ
fn polygons_with_uv_map_from( &self, state: Self::State, ) -> Generate<'_, Self, Self::State, <Self as UvMapPolygonGenerator>::Output> ⓘ
Provides an iterator over the set of unique polygons with UV-mapping
data using the provided state.
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§unsafe fn to_subset_unchecked(&self) -> SS
unsafe 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.Source§impl<G> VerticesWithNormal for Gwhere
G: NormalVertexGenerator,
impl<G> VerticesWithNormal for Gwhere
G: NormalVertexGenerator,
fn vertices_with_normal( &self, ) -> Generate<'_, Self, Self::State, <Self as NormalVertexGenerator>::Output> ⓘ
fn vertices_with_normal_from( &self, state: Self::State, ) -> Generate<'_, Self, Self::State, <Self as NormalVertexGenerator>::Output> ⓘ
Source§impl<G> VerticesWithPosition for Gwhere
G: PositionVertexGenerator,
impl<G> VerticesWithPosition for Gwhere
G: PositionVertexGenerator,
Source§fn vertices_with_position(
&self,
) -> Generate<'_, Self, Self::State, <Self as PositionVertexGenerator>::Output> ⓘ
fn vertices_with_position( &self, ) -> Generate<'_, Self, Self::State, <Self as PositionVertexGenerator>::Output> ⓘ
Provides an iterator over the set of unique vertices with position
data. Read more
Source§fn vertices_with_position_from(
&self,
state: Self::State,
) -> Generate<'_, Self, Self::State, <Self as PositionVertexGenerator>::Output> ⓘ
fn vertices_with_position_from( &self, state: Self::State, ) -> Generate<'_, Self, Self::State, <Self as PositionVertexGenerator>::Output> ⓘ
Provides an iterator over the set of unique vertices with position data
using the provided state. Read more