pub struct ImageDraw {
pub rect: Rect,
pub image: ImageBitmap,
pub alpha: f32,
pub color_filter: Option<ColorFilter>,
pub z_index: usize,
pub clip: Option<Rect>,
pub src_rect: Option<Rect>,
}Fields§
§rect: Rect§image: ImageBitmap§alpha: f32§color_filter: Option<ColorFilter>§z_index: usize§clip: Option<Rect>§src_rect: Option<Rect>Source sub-region in image-pixel coordinates. None means full image.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageDraw
impl RefUnwindSafe for ImageDraw
impl Send for ImageDraw
impl Sync for ImageDraw
impl Unpin for ImageDraw
impl UnwindSafe for ImageDraw
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