pub struct TextureUsage(pub SDL_GPUTextureUsageFlags);Tuple Fields§
§0: SDL_GPUTextureUsageFlagsImplementations§
Source§impl TextureUsage
impl TextureUsage
pub const INVALID: Self
pub const COMPUTE_STORAGE_WRITE: Self
pub const COMPUTE_STORAGE_READ: Self
pub const COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE: Self
pub const DEPTH_STENCIL_TARGET: Self
pub const GRAPHICS_STORAGE_READ: Self
pub const SAMPLER: Self
pub const COLOR_TARGET: Self
Trait Implementations§
Source§impl BitAnd for TextureUsage
impl BitAnd for TextureUsage
Source§type Output = TextureUsage
type Output = TextureUsage
The resulting type after applying the
& operator.Source§impl BitOr for TextureUsage
impl BitOr for TextureUsage
Source§type Output = TextureUsage
type Output = TextureUsage
The resulting type after applying the
| operator.Source§impl Clone for TextureUsage
impl Clone for TextureUsage
Source§fn clone(&self) -> TextureUsage
fn clone(&self) -> TextureUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextureUsage
Source§impl Debug for TextureUsage
impl Debug for TextureUsage
Source§impl Default for TextureUsage
impl Default for TextureUsage
impl Eq for TextureUsage
Source§impl PartialEq for TextureUsage
impl PartialEq for TextureUsage
impl StructuralPartialEq for TextureUsage
Auto Trait Implementations§
impl Freeze for TextureUsage
impl RefUnwindSafe for TextureUsage
impl Send for TextureUsage
impl Sync for TextureUsage
impl Unpin for TextureUsage
impl UnsafeUnpin for TextureUsage
impl UnwindSafe for TextureUsage
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