Struct rin_graphics::vertex::Vertex2DTexColor [−][src]
#[repr(C)]pub struct Vertex2DTexColor { pub position: Vec2, pub texcoord: Vec2, pub color: Rgba<f32>, }
Fields
position: Vec2
texcoord: Vec2
color: Rgba<f32>
Trait Implementations
impl Clone for Vertex2DTexColor
[src]
impl Clone for Vertex2DTexColor
[src]fn clone(&self) -> Vertex2DTexColor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Vertex2DTexColor
[src]
impl Default for Vertex2DTexColor
[src]fn default() -> Vertex2DTexColor
[src]
impl<'de> Deserialize<'de> for Vertex2DTexColor
[src]
impl<'de> Deserialize<'de> for Vertex2DTexColor
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Vertex2DTexColor
[src]
impl Serialize for Vertex2DTexColor
[src]impl Vertex for Vertex2DTexColor
[src]
impl Vertex for Vertex2DTexColor
[src]impl VertexFormat for Vertex2DTexColor
[src]
impl VertexFormat for Vertex2DTexColor
[src]fn attributes_formats(bindings: &dyn Bindings) -> Vec<Format>
[src]
impl Copy for Vertex2DTexColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vertex2DTexColor
impl Send for Vertex2DTexColor
impl Sync for Vertex2DTexColor
impl Unpin for Vertex2DTexColor
impl UnwindSafe for Vertex2DTexColor
Blanket Implementations
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>,