pub enum Background {
Theme,
Transparent,
}Expand description
Canvas treatment, independent of light/dark diagram colors and raster fitting.
Variants§
Theme
Paint the theme’s canvas color (the default for existing callers).
Transparent
Leave the canvas unpainted so the host surface shows through.
Trait Implementations§
Source§impl Clone for Background
impl Clone for Background
impl Copy for Background
Source§impl Debug for Background
impl Debug for Background
Source§impl Default for Background
impl Default for Background
impl Eq for Background
Source§impl PartialEq for Background
impl PartialEq for Background
impl StructuralPartialEq for Background
Auto Trait Implementations§
impl Freeze for Background
impl RefUnwindSafe for Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl UnsafeUnpin for Background
impl UnwindSafe for Background
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