pub struct SourceImage<'a> {
pub data: SourceImageData<'a>,
pub size: Extent3d,
}Available on crate features
encoder and extra only.Fields§
§data: SourceImageData<'a>The input data of image pixels.
size: Extent3dThe size of image.
Trait Implementations§
Source§impl<'a> Clone for SourceImage<'a>
impl<'a> Clone for SourceImage<'a>
Source§fn clone(&self) -> SourceImage<'a>
fn clone(&self) -> SourceImage<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for SourceImage<'a>
impl<'a> RefUnwindSafe for SourceImage<'a>
impl<'a> Send for SourceImage<'a>
impl<'a> Sync for SourceImage<'a>
impl<'a> Unpin for SourceImage<'a>
impl<'a> UnsafeUnpin for SourceImage<'a>
impl<'a> UnwindSafe for SourceImage<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more