Enum rin::graphics::PrimitiveType [−][src]
pub enum PrimitiveType { Triangles, TriangleStrip, TriangleFan, Lines, LineStrip, LineLoop, LinesAdjacency, LineStripAdjacency, Points, Patches, }
Variants
Trait Implementations
impl Clone for PrimitiveType
[src]
impl Clone for PrimitiveType
[src]pub fn clone(&self) -> PrimitiveType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PrimitiveType
[src]
impl Default for PrimitiveType
[src]pub fn default() -> PrimitiveType
[src]
impl<'de> Deserialize<'de> for PrimitiveType
[src]
impl<'de> Deserialize<'de> for PrimitiveType
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<PrimitiveType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<PrimitiveType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<PrimitiveType> for PrimitiveType
[src]
impl PartialEq<PrimitiveType> for PrimitiveType
[src]impl PrimitiveTypeToGl for PrimitiveType
[src]
impl PrimitiveTypeToGl for PrimitiveType
[src]Mesh primitive type to gl primitive type
impl Serialize for PrimitiveType
[src]
impl Serialize for PrimitiveType
[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 Copy for PrimitiveType
[src]
impl Eq for PrimitiveType
[src]
impl StructuralEq for PrimitiveType
[src]
impl StructuralPartialEq for PrimitiveType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[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,