pub struct DrawingDelegate {
pub dt: DrawTarget,
pub show_fn: Option<Box<dyn Fn(&str)>>,
}Fields§
§dt: DrawTarget§show_fn: Option<Box<dyn Fn(&str)>>Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DrawingDelegate
impl !RefUnwindSafe for DrawingDelegate
impl !Send for DrawingDelegate
impl !Sync for DrawingDelegate
impl Unpin for DrawingDelegate
impl !UnwindSafe for DrawingDelegate
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