Struct rin::graphics::Vertex3DColor [−][src]
#[repr(C)]pub struct Vertex3DColor { pub position: Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, pub color: AlphaColor<f32, Rgb<f32, Srgb>>, pub pad: f32, }
Fields
position: Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
color: AlphaColor<f32, Rgb<f32, Srgb>>
pad: f32
Trait Implementations
impl Clone for Vertex3DColor
[src]
impl Clone for Vertex3DColor
[src]pub fn clone(&self) -> Vertex3DColor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Vertex3DColor
[src]
impl Default for Vertex3DColor
[src]pub fn default() -> Vertex3DColor
[src]
impl<'de> Deserialize<'de> for Vertex3DColor
[src]
impl<'de> Deserialize<'de> for Vertex3DColor
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Vertex3DColor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Vertex3DColor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for Vertex3DColor
[src]
impl Serialize for Vertex3DColor
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Vertex for Vertex3DColor
[src]
impl Vertex for Vertex3DColor
[src]type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn position(
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]
&self
) -> &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
pub fn position_mut(
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]
&mut self
) -> &mut Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
impl VertexFormat for Vertex3DColor
[src]
impl VertexFormat for Vertex3DColor
[src]impl Copy for Vertex3DColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vertex3DColor
impl Send for Vertex3DColor
impl Sync for Vertex3DColor
impl Unpin for Vertex3DColor
impl UnwindSafe for Vertex3DColor
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,