pub struct TextureSelector {
pub mips: Range<u32>,
pub layers: Range<u32>,
}
Expand description
Specifies a particular set of subresources in a texture.
Fields§
§mips: Range<u32>
Range of mips to use.
layers: Range<u32>
Range of layers to use.
Trait Implementations§
source§impl Clone for TextureSelector
impl Clone for TextureSelector
source§fn clone(&self) -> TextureSelector
fn clone(&self) -> TextureSelector
Returns a copy 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 TextureSelector
impl Debug for TextureSelector
source§impl PartialEq for TextureSelector
impl PartialEq for TextureSelector
impl Eq for TextureSelector
impl StructuralPartialEq for TextureSelector
Auto Trait Implementations§
impl Freeze for TextureSelector
impl RefUnwindSafe for TextureSelector
impl Send for TextureSelector
impl Sync for TextureSelector
impl Unpin for TextureSelector
impl UnwindSafe for TextureSelector
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)