pub struct DrawShape {
pub rect: Rect,
pub local_rect: Rect,
pub quad: [[f32; 2]; 4],
pub brush: Brush,
pub shape: Option<RoundedCornerShape>,
pub z_index: usize,
pub clip: Option<Rect>,
pub blend_mode: BlendMode,
}Fields§
§rect: Rect§local_rect: Rect§quad: [[f32; 2]; 4]§brush: Brush§shape: Option<RoundedCornerShape>§z_index: usize§clip: Option<Rect>§blend_mode: BlendModeTrait Implementations§
Auto Trait Implementations§
impl Freeze for DrawShape
impl RefUnwindSafe for DrawShape
impl Send for DrawShape
impl Sync for DrawShape
impl Unpin for DrawShape
impl UnsafeUnpin for DrawShape
impl UnwindSafe for DrawShape
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