Struct makepad_image_formats::ImageBuffer
source · [−]Fields
width: usize
height: usize
data: Vec<u32>
Implementations
sourceimpl ImageBuffer
impl ImageBuffer
pub fn new(width: usize, height: usize) -> ImageBuffer
Trait Implementations
sourceimpl Default for ImageBuffer
impl Default for ImageBuffer
sourcefn default() -> ImageBuffer
fn default() -> ImageBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImageBuffer
impl Send for ImageBuffer
impl Sync for ImageBuffer
impl Unpin for ImageBuffer
impl UnwindSafe for ImageBuffer
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