pub struct DrawList { /* private fields */ }Implementations§
Source§impl DrawList
impl DrawList
pub fn new() -> Self
pub fn clear(&mut self)
pub fn replace(&mut self, other: DrawList)
pub fn extent(&self) -> Option<Rect>
pub fn revision(&self) -> u64
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn push_quad(&mut self, quad: Quad)
pub fn push_shadow(&mut self, shadow: Shadow)
pub fn push_glyph(&mut self, glyph: Glyph)
pub fn push_image(&mut self, image: ImageQuad)
Trait Implementations§
Auto Trait Implementations§
impl Forget for DrawList
impl Freeze for DrawList
impl Move for DrawList
impl RefUnwindSafe for DrawList
impl Send for DrawList
impl Sync for DrawList
impl Unpin for DrawList
impl UnsafeUnpin for DrawList
impl UnwindSafe for DrawList
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