Enum tridify_rs::TextureSize
source · pub enum TextureSize {
D1(u32),
D2(UVec2),
D3(UVec3),
}
Variants§
Implementations§
source§impl TextureSize
impl TextureSize
pub fn get_size(&self) -> UVec3
pub fn get_wgpu_dimension(&self) -> TextureDimension
pub fn get_wgpu_view_dimension(&self) -> TextureViewDimension
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TextureSize
impl Send for TextureSize
impl Sync for TextureSize
impl Unpin for TextureSize
impl UnwindSafe for TextureSize
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