pub struct TextureSubresources {
pub base_mip_level: u32,
pub mip_level_count: Option<NonZeroU32>,
pub base_array_layer: u32,
pub array_layer_count: Option<NonZeroU32>,
}Fields§
§base_mip_level: u32§mip_level_count: Option<NonZeroU32>§base_array_layer: u32§array_layer_count: Option<NonZeroU32>Trait Implementations§
Source§impl Clone for TextureSubresources
impl Clone for TextureSubresources
Source§fn clone(&self) -> TextureSubresources
fn clone(&self) -> TextureSubresources
Returns a duplicate 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 TextureSubresources
impl Debug for TextureSubresources
Source§impl Default for TextureSubresources
impl Default for TextureSubresources
Source§fn default() -> TextureSubresources
fn default() -> TextureSubresources
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextureSubresources
impl PartialEq for TextureSubresources
impl Eq for TextureSubresources
impl StructuralPartialEq for TextureSubresources
Auto Trait Implementations§
impl Freeze for TextureSubresources
impl RefUnwindSafe for TextureSubresources
impl Send for TextureSubresources
impl Sync for TextureSubresources
impl Unpin for TextureSubresources
impl UnwindSafe for TextureSubresources
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.