pub enum TextureDim {
Tex1D,
Tex2D,
Tex3D,
TexCube,
}
Expand description
Texture dimensions
Variants§
Trait Implementations§
Source§impl Clone for TextureDim
impl Clone for TextureDim
Source§fn clone(&self) -> TextureDim
fn clone(&self) -> TextureDim
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextureDim
impl Debug for TextureDim
Source§impl<'de> Deserialize<'de> for TextureDim
impl<'de> Deserialize<'de> for TextureDim
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TextureDim
impl RefUnwindSafe for TextureDim
impl Send for TextureDim
impl Sync for TextureDim
impl Unpin for TextureDim
impl UnwindSafe for TextureDim
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more