Struct solstice_2d::Polyhedron [−][src]
Fields
vertices: Vec<Point3D>
indices: Vec<u32>
radius: f32
detail: u32
Implementations
impl Polyhedron
[src]
pub fn tetrahedron(radius: f32, detail: u32) -> Self
[src]
pub fn octahedron(radius: f32, detail: u32) -> Self
[src]
pub fn icosahedron(radius: f32, detail: u32) -> Self
[src]
pub fn dodecahedron(radius: f32, detail: u32) -> Self
[src]
Trait Implementations
impl Clone for Polyhedron
[src]
fn clone(&self) -> Polyhedron
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Polyhedron
[src]
impl Geometry<Vertex3D> for Polyhedron
[src]
type Vertices = Map<IntoIter<Point3D>, fn(_: Point3D) -> Vertex3D>
type Indices = Map<Enumerate<Self::Vertices>, fn(_: (usize, Vertex3D)) -> u32>
fn vertices(&self) -> Self::Vertices
[src]
fn indices(&self) -> Self::Indices
[src]
impl PartialEq<Polyhedron> for Polyhedron
[src]
fn eq(&self, other: &Polyhedron) -> bool
[src]
fn ne(&self, other: &Polyhedron) -> bool
[src]
impl PartialOrd<Polyhedron> for Polyhedron
[src]
fn partial_cmp(&self, other: &Polyhedron) -> Option<Ordering>
[src]
fn lt(&self, other: &Polyhedron) -> bool
[src]
fn le(&self, other: &Polyhedron) -> bool
[src]
fn gt(&self, other: &Polyhedron) -> bool
[src]
fn ge(&self, other: &Polyhedron) -> bool
[src]
impl StructuralPartialEq for Polyhedron
[src]
Auto Trait Implementations
impl RefUnwindSafe for Polyhedron
[src]
impl Send for Polyhedron
[src]
impl Sync for Polyhedron
[src]
impl Unpin for Polyhedron
[src]
impl UnwindSafe for Polyhedron
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
V: 'a + Iterator<Item = Vertex3D>,
I: Iterator<Item = u32> + 'a,
G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug,
[src]
V: 'a + Iterator<Item = Vertex3D>,
I: Iterator<Item = u32> + 'a,
G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug,
pub fn vertices(&Self) -> Box<dyn Iterator<Item = Vertex3D> + 'a, Global>
[src]
pub fn indices(&Self) -> Box<dyn Iterator<Item = u32> + 'a, Global>
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,