Enum wgpu::IndexFormat [−][src]
#[repr(C)] pub enum IndexFormat { Uint16, Uint32, }
Format of indices used with pipeline.
Variants
Indices are 16 bit unsigned integers.
Indices are 32 bit unsigned integers.
Trait Implementations
impl Clone for IndexFormat
[src]
impl Clone for IndexFormat
[src]pub fn clone(&self) -> IndexFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IndexFormat
[src]
impl Copy for IndexFormat
[src]impl Default for IndexFormat
[src]
impl Default for IndexFormat
[src]pub fn default() -> IndexFormat
[src]
impl<'de> Deserialize<'de> for IndexFormat
[src]
impl<'de> Deserialize<'de> for IndexFormat
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IndexFormat, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<IndexFormat, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for IndexFormat
[src]
impl Eq for IndexFormat
[src]impl Hash for IndexFormat
[src]
impl Hash for IndexFormat
[src]impl PartialEq<IndexFormat> for IndexFormat
[src]
impl PartialEq<IndexFormat> for IndexFormat
[src]impl Serialize for IndexFormat
[src]
impl Serialize for IndexFormat
[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 StructuralEq for IndexFormat
[src]
impl StructuralEq for IndexFormat
[src]impl StructuralPartialEq for IndexFormat
[src]
impl StructuralPartialEq for IndexFormat
[src]Auto Trait Implementations
impl RefUnwindSafe for IndexFormat
impl RefUnwindSafe for IndexFormat
impl Send for IndexFormat
impl Send for IndexFormat
impl Sync for IndexFormat
impl Sync for IndexFormat
impl Unpin for IndexFormat
impl Unpin for IndexFormat
impl UnwindSafe for IndexFormat
impl UnwindSafe for IndexFormat
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[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]