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 more
sourceimpl<'a> Debug for ImageInner<'a>
impl<'a> Debug for ImageInner<'a>
sourceimpl<'a> Hash for ImageInner<'a>
impl<'a> Hash for ImageInner<'a>
sourceimpl<'a> PartialEq<ImageInner<'a>> for ImageInner<'a>
impl<'a> PartialEq<ImageInner<'a>> for ImageInner<'a>
sourcefn eq(&self, other: &ImageInner<'a>) -> bool
fn eq(&self, other: &ImageInner<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImageInner<'a>) -> bool
fn ne(&self, other: &ImageInner<'a>) -> bool
This method tests for !=
.
impl<'a> Copy for ImageInner<'a>
impl<'a> Eq for ImageInner<'a>
impl<'a> StructuralEq for ImageInner<'a>
impl<'a> StructuralPartialEq 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more