Struct rin_graphics::vertex::Vertex2D [−][src]
#[repr(C)]pub struct Vertex2D { pub position: Vec2, }
Fields
position: Vec2
Trait Implementations
impl<'de> Deserialize<'de> for Vertex2D
[src]
impl<'de> Deserialize<'de> for Vertex2D
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl VertexFormat for Vertex2D
[src]
impl VertexFormat for Vertex2D
[src]fn attributes_formats(bindings: &dyn Bindings) -> Vec<Format>
[src]
impl Copy for Vertex2D
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vertex2D
impl Send for Vertex2D
impl Sync for Vertex2D
impl Unpin for Vertex2D
impl UnwindSafe for Vertex2D
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>,