pub struct Texture {
pub data: TextureData,
pub sampler: SamplerDesc,
}Expand description
A stored texture: payload plus sampler state.
Fields§
§data: TextureData§sampler: SamplerDescTrait Implementations§
impl StructuralPartialEq for Texture
Auto Trait Implementations§
impl Forget for Texture
impl Freeze for Texture
impl Move for Texture
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnsafeUnpin for Texture
impl UnwindSafe for Texture
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