pub struct Cube;
Implementations
Trait Implementations
sourceimpl<S> AttributeGenerator<Normal<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeGenerator<Normal<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
sourceimpl<S> AttributeGenerator<Position<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeGenerator<Position<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
sourceimpl<S> AttributePolygonGenerator<Normal<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributePolygonGenerator<Normal<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = NGon<Unit<<S as EuclideanSpace>::CoordinateSpace>, 4_usize>
fn polygon_from(&self, state: &Self::State, index: usize) -> Self::Output
sourceimpl AttributePolygonGenerator<Plane> for Cube
impl AttributePolygonGenerator<Plane> for Cube
sourceimpl<S> AttributePolygonGenerator<Position<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributePolygonGenerator<Position<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
sourceimpl<S> AttributeVertexGenerator<Normal<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeVertexGenerator<Normal<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = Unit<<S as EuclideanSpace>::CoordinateSpace>
fn vertex_count(&self) -> usize
fn vertex_from(&self, _: &Self::State, index: usize) -> Self::Output
sourceimpl AttributeVertexGenerator<Plane> for Cube
impl AttributeVertexGenerator<Plane> for Cube
type Output = Plane
fn vertex_count(&self) -> usize
fn vertex_from(&self, _: &Self::State, index: usize) -> Self::Output
sourceimpl<S> AttributeVertexGenerator<Position<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeVertexGenerator<Position<S>> for Cube where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = S
fn vertex_count(&self) -> usize
fn vertex_from(&self, state: &Self::State, index: usize) -> Self::Output
sourceimpl Generator for Cube
impl Generator for Cube
sourcefn vertices<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributeVertexGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributeVertexGenerator<A>,
A: Attribute,
fn vertices<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributeVertexGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributeVertexGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
Gets an iterator over the set of unique vertices with the given attribute data. Read more
fn vertices_from<A>(
&self,
state: Self::State
) -> Generate<'_, Self, Self::State, <Self as AttributeVertexGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributeVertexGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
sourcefn polygons<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributePolygonGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributePolygonGenerator<A>,
A: Attribute,
fn polygons<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributePolygonGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributePolygonGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
Gets an iterator over the set of polygons with the given attribute data. Read more
fn polygons_from<A>(
&self,
state: Self::State
) -> Generate<'_, Self, Self::State, <Self as AttributePolygonGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributePolygonGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
sourcefn indexing_polygons<A>(&self) -> Generate<'_, Self, (), Self::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: IndexingPolygonGenerator<A>,
A: Attribute,
fn indexing_polygons<A>(&self) -> Generate<'_, Self, (), Self::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: IndexingPolygonGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
Gets an iterator over a set of polygons that index the unique set of vertices with the given attribute. Read more
sourceimpl<S> IndexingPolygonGenerator<Normal<S>> for Cube
impl<S> IndexingPolygonGenerator<Normal<S>> for Cube
sourceimpl IndexingPolygonGenerator<Plane> for Cube
impl IndexingPolygonGenerator<Plane> for Cube
sourceimpl<S> IndexingPolygonGenerator<Position<S>> for Cube
impl<S> IndexingPolygonGenerator<Position<S>> for Cube
sourceimpl PolygonGenerator for Cube
impl PolygonGenerator for Cube
fn polygon_count(&self) -> usize
impl Copy for Cube
Auto Trait Implementations
impl RefUnwindSafe for Cube
impl Send for Cube
impl Sync for Cube
impl Unpin for Cube
impl UnwindSafe for Cube
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> FromGeometry<T> for T
impl<T> FromGeometry<T> for T
fn from_geometry(other: T) -> T
sourceimpl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
impl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
fn into_geometry(self) -> U
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
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 more
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).
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.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.