pub struct RawTextureConfig<'a> {
pub label: Option<&'a str>,
pub sampler_desc: SamplerDescriptor<'a>,
}
Expand description
Config for creating a texture from raw parts
Fields§
§label: Option<&'a str>
An optional label for the bind group used for debugging.
sampler_desc: SamplerDescriptor<'a>
The sampler descriptor of the texture.
Trait Implementations§
Source§impl<'a> Clone for RawTextureConfig<'a>
impl<'a> Clone for RawTextureConfig<'a>
Source§fn clone(&self) -> RawTextureConfig<'a>
fn clone(&self) -> RawTextureConfig<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for RawTextureConfig<'a>
impl<'a> RefUnwindSafe for RawTextureConfig<'a>
impl<'a> Send for RawTextureConfig<'a>
impl<'a> Sync for RawTextureConfig<'a>
impl<'a> Unpin for RawTextureConfig<'a>
impl<'a> UnwindSafe for RawTextureConfig<'a>
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