Struct blade_graphics::TextureSubresources
source · 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 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 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
source§fn eq(&self, other: &TextureSubresources) -> bool
fn eq(&self, other: &TextureSubresources) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TextureSubresources
impl StructuralEq for TextureSubresources
impl StructuralPartialEq for TextureSubresources
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.