pub enum DrawCommand {
Behind(Rc<dyn Fn(Size) -> Vec<DrawPrimitive>>),
Overlay(Rc<dyn Fn(Size) -> Vec<DrawPrimitive>>),
}Variants§
Trait Implementations§
Source§impl Clone for DrawCommand
impl Clone for DrawCommand
Source§fn clone(&self) -> DrawCommand
fn clone(&self) -> DrawCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DrawCommand
impl !RefUnwindSafe for DrawCommand
impl !Send for DrawCommand
impl !Sync for DrawCommand
impl Unpin for DrawCommand
impl !UnwindSafe for DrawCommand
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