pub struct Image { /* private fields */ }
Expand description
An Image
Implementations
sourceimpl Image
impl Image
sourcepub fn draw_ptr<'b, T>(&mut self, color: [u8; 4], path: T, pixels: *mut u8)where
T: IntoIterator<Item = &'b PathOp>,
pub fn draw_ptr<'b, T>(&mut self, color: [u8; 4], path: T, pixels: *mut u8)where
T: IntoIterator<Item = &'b PathOp>,
Draw a path a solid color (sRGBA).
sourcepub fn draw<'b, T>(&mut self, color: [u8; 4], path: T, pixels: &mut [u8])where
T: IntoIterator<Item = &'b PathOp>,
pub fn draw<'b, T>(&mut self, color: [u8; 4], path: T, pixels: &mut [u8])where
T: IntoIterator<Item = &'b PathOp>,
Draw a path a solid color (sRGBA).
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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