Struct vulkano::image::traits::ImageInner [−][src]
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, }
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
impl<'a> Clone for ImageInner<'a>
[src]
impl<'a> Clone for ImageInner<'a>
[src]fn clone(&self) -> ImageInner<'a>
[src]
fn clone(&self) -> ImageInner<'a>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for ImageInner<'a>
[src]
impl<'a> Debug for ImageInner<'a>
[src]impl<'a> Hash for ImageInner<'a>
[src]
impl<'a> Hash for ImageInner<'a>
[src]impl<'a> PartialEq<ImageInner<'a>> for ImageInner<'a>
[src]
impl<'a> PartialEq<ImageInner<'a>> for ImageInner<'a>
[src]fn eq(&self, other: &ImageInner<'a>) -> bool
[src]
fn eq(&self, other: &ImageInner<'a>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ImageInner<'a>) -> bool
[src]
fn ne(&self, other: &ImageInner<'a>) -> bool
[src]This method tests for !=
.
impl<'a> Copy for ImageInner<'a>
[src]
impl<'a> Eq for ImageInner<'a>
[src]
impl<'a> StructuralEq for ImageInner<'a>
[src]
impl<'a> StructuralPartialEq for ImageInner<'a>
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more