Struct draw2d::graphics::vulkan::texture::MipmapExtent [−][src]
Expand description
This struct defines the size of a mipmap level.
Fields
width: u32
The mipmap level’s width, in pixels.
height: u32
The mipmap level’s height, in pixels.
Implementations
The expected size of the mipmap based on it’s dimensions and the bytes per pixel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MipmapExtent
impl Send for MipmapExtent
impl Sync for MipmapExtent
impl Unpin for MipmapExtent
impl UnwindSafe for MipmapExtent
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.