pub struct DrawScopeDefault { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for DrawScopeDefault
impl Default for DrawScopeDefault
Source§fn default() -> DrawScopeDefault
fn default() -> DrawScopeDefault
Returns the “default value” for a type. Read more
Source§impl DrawScope for DrawScopeDefault
impl DrawScope for DrawScopeDefault
fn size(&self) -> Size
fn draw_content(&self)
fn draw_rect(&mut self, brush: Brush)
Source§fn draw_rect_at(&mut self, rect: Rect, brush: Brush)
fn draw_rect_at(&mut self, rect: Rect, brush: Brush)
Draws a rectangle at the specified position and size.
fn draw_round_rect(&mut self, brush: Brush, radii: CornerRadii)
fn into_primitives(self) -> Vec<DrawPrimitive>
Auto Trait Implementations§
impl Freeze for DrawScopeDefault
impl RefUnwindSafe for DrawScopeDefault
impl Send for DrawScopeDefault
impl Sync for DrawScopeDefault
impl Unpin for DrawScopeDefault
impl UnwindSafe for DrawScopeDefault
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