Struct gfx_hal::image::FormatProperties
source · pub struct FormatProperties {
pub max_extent: Extent,
pub max_levels: Level,
pub max_layers: Layer,
pub sample_count_mask: NumSamples,
pub max_resource_size: usize,
}
Expand description
Image format properties.
Fields
max_extent: Extent
Maximum extent.
max_levels: Level
Max number of mipmap levels.
max_layers: Layer
Max number of array layers.
sample_count_mask: NumSamples
Bit mask of supported sample counts.
max_resource_size: usize
Maximum size of the resource in bytes.
Trait Implementations
sourceimpl Clone for FormatProperties
impl Clone for FormatProperties
sourcefn clone(&self) -> FormatProperties
fn clone(&self) -> FormatProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FormatProperties
impl Debug for FormatProperties
sourceimpl Hash for FormatProperties
impl Hash for FormatProperties
sourceimpl PartialEq<FormatProperties> for FormatProperties
impl PartialEq<FormatProperties> for FormatProperties
sourcefn eq(&self, other: &FormatProperties) -> bool
fn eq(&self, other: &FormatProperties) -> bool
impl Copy for FormatProperties
impl Eq for FormatProperties
impl StructuralEq for FormatProperties
impl StructuralPartialEq for FormatProperties
Auto Trait Implementations
impl RefUnwindSafe for FormatProperties
impl Send for FormatProperties
impl Sync for FormatProperties
impl Unpin for FormatProperties
impl UnwindSafe for FormatProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more