pub struct ImageDraw {
pub rect: Rect,
pub local_rect: Rect,
pub quad: [[f32; 2]; 4],
pub image: ImageBitmap,
pub alpha: f32,
pub color_filter: Option<ColorFilter>,
pub z_index: usize,
pub clip: Option<Rect>,
pub blend_mode: BlendMode,
pub src_rect: Option<Rect>,
}Fields§
§rect: Rect§local_rect: Rect§quad: [[f32; 2]; 4]§image: ImageBitmap§alpha: f32§color_filter: Option<ColorFilter>§z_index: usize§clip: Option<Rect>§blend_mode: BlendMode§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 UnsafeUnpin 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