Struct vulkano::image::traits::ImageInner
source · pub struct ImageInner<'a> {
pub image: &'a UnsafeImage,
pub first_layer: usize,
pub num_layers: usize,
pub first_mipmap_level: usize,
pub num_mipmap_levels: usize,
}
Expand description
Inner information about an image.
Fields
image: &'a UnsafeImage
The underlying image object.
first_layer: usize
The first layer of image
to consider.
num_layers: usize
The number of layers of image
to consider.
first_mipmap_level: usize
The first mipmap level of image
to consider.
num_mipmap_levels: usize
The number of mipmap levels of image
to consider.
Trait Implementations
sourceimpl<'a> Clone for ImageInner<'a>
impl<'a> Clone for ImageInner<'a>
sourcefn clone(&self) -> ImageInner<'a>
fn clone(&self) -> ImageInner<'a>
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<'a> Debug for ImageInner<'a>
impl<'a> Debug for ImageInner<'a>
impl<'a> Copy for ImageInner<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImageInner<'a>
impl<'a> Send for ImageInner<'a>
impl<'a> Sync for ImageInner<'a>
impl<'a> Unpin for ImageInner<'a>
impl<'a> UnwindSafe for ImageInner<'a>
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.