Struct PremultipliedRgba8Image
#[non_exhaustive]pub struct PremultipliedRgba8Image {
pub info: TextureImageInfo,
pub data: Vec<u8>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.info: TextureImageInfo§data: Vec<u8>Implementations§
§impl PremultipliedRgba8Image
impl PremultipliedRgba8Image
pub fn new(info: TextureImageInfo, data: Vec<u8>) -> PremultipliedRgba8Image
Trait Implementations§
§impl Clone for PremultipliedRgba8Image
impl Clone for PremultipliedRgba8Image
§fn clone(&self) -> PremultipliedRgba8Image
fn clone(&self) -> PremultipliedRgba8Image
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PremultipliedRgba8Image
impl Debug for PremultipliedRgba8Image
§impl PartialEq for PremultipliedRgba8Image
impl PartialEq for PremultipliedRgba8Image
impl Eq for PremultipliedRgba8Image
impl StructuralPartialEq for PremultipliedRgba8Image
Auto Trait Implementations§
impl Freeze for PremultipliedRgba8Image
impl RefUnwindSafe for PremultipliedRgba8Image
impl Send for PremultipliedRgba8Image
impl Sync for PremultipliedRgba8Image
impl Unpin for PremultipliedRgba8Image
impl UnsafeUnpin for PremultipliedRgba8Image
impl UnwindSafe for PremultipliedRgba8Image
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