Struct solstice_2d::Vertex3D [−][src]
Fields
position: [f32; 3]
uv: [f32; 2]
color: [f32; 4]
normal: [f32; 3]
Trait Implementations
impl<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
V: Iterator<Item = Vertex3D> + 'a,
I: Iterator<Item = u32> + 'a,
G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug,
[src]
V: Iterator<Item = Vertex3D> + 'a,
I: Iterator<Item = u32> + 'a,
G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug,
fn vertices(&self) -> Box<dyn Iterator<Item = Vertex3D> + 'a>
[src]
fn indices(&self) -> Box<dyn Iterator<Item = u32> + 'a>
[src]
impl Clone for Vertex3D
[src]
impl Copy for Vertex3D
[src]
impl Debug for Vertex3D
[src]
impl<G> Draw<Vertex3D, G> for DrawList<'_> where
G: Geometry<Vertex3D> + Clone + 'static,
[src]
G: Geometry<Vertex3D> + Clone + 'static,
fn draw(&mut self, geometry: G)
[src]
fn draw_with_transform<TX: Into<Transform3D>>(
&mut self,
geometry: G,
transform: TX
)
[src]
&mut self,
geometry: G,
transform: TX
)
fn draw_with_color<C: Into<Color>>(&mut self, geometry: G, color: C)
[src]
fn draw_with_color_and_transform<C: Into<Color>, TX: Into<Transform3D>>(
&mut self,
geometry: G,
color: C,
transform: TX
)
[src]
&mut self,
geometry: G,
color: C,
transform: TX
)
fn stroke(&mut self, geometry: G)
[src]
fn stroke_with_transform<TX: Into<Transform3D>>(
&mut self,
geometry: G,
transform: TX
)
[src]
&mut self,
geometry: G,
transform: TX
)
fn stroke_with_color<C: Into<Color>>(&mut self, geometry: G, color: C)
[src]
fn stroke_with_color_and_transform<C: Into<Color>, TX: Into<Transform3D>>(
&mut self,
geometry: G,
color: C,
transform: TX
)
[src]
&mut self,
geometry: G,
color: C,
transform: TX
)
fn image<T: Texture>(&mut self, geometry: G, texture: T)
[src]
fn image_with_color<T, C>(&mut self, geometry: G, texture: T, color: C) where
T: Texture,
C: Into<Color>,
[src]
T: Texture,
C: Into<Color>,
fn image_with_transform<T, TX>(
&mut self,
geometry: G,
texture: T,
transform: TX
) where
T: Texture,
TX: Into<Transform3D>,
[src]
&mut self,
geometry: G,
texture: T,
transform: TX
) where
T: Texture,
TX: Into<Transform3D>,
fn image_with_color_and_transform<T, C, TX>(
&mut self,
geometry: G,
texture: T,
color: C,
transform: TX
) where
T: Texture,
C: Into<Color>,
TX: Into<Transform3D>,
[src]
&mut self,
geometry: G,
texture: T,
color: C,
transform: TX
) where
T: Texture,
C: Into<Color>,
TX: Into<Transform3D>,
impl Geometry<Vertex3D> for Box
[src]
type Vertices = IntoIter<Vertex3D>
type Indices = IntoIter<u32>
fn vertices(&self) -> Self::Vertices
[src]
fn indices(&self) -> Self::Indices
[src]
impl Geometry<Vertex3D> for Polyhedron
[src]
type Vertices = IntoIter<Vertex3D>
type Indices = Range<u32>
fn vertices(&self) -> Self::Vertices
[src]
fn indices(&self) -> Self::Indices
[src]
impl Geometry<Vertex3D> for Sphere
[src]
type Vertices = IntoIter<Vertex3D>
type Indices = IntoIter<u32>
fn vertices(&self) -> Self::Vertices
[src]
fn indices(&self) -> Self::Indices
[src]
impl PartialEq<Vertex3D> for Vertex3D
[src]
impl StructuralPartialEq for Vertex3D
[src]
impl Vertex for Vertex3D
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vertex3D
impl Send for Vertex3D
impl Sync for Vertex3D
impl Unpin for Vertex3D
impl UnwindSafe for Vertex3D
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<'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<'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<T> Scalar for T where
T: Copy + PartialEq<T> + Debug + Any,
[src]
T: Copy + PartialEq<T> + Debug + Any,
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>,