pub enum Ink {
Fore,
Back,
}Expand description
Which of the two colours a shape is drawn in.
Variants§
Fore
The content colour — the same one the label would be drawn in.
Back
The colour behind the icon, for knocking a hole out of a filled shape.
The only way to draw an outline here, since the filler has no stroke and
no even-odd rule. It is why ⌫ can have an × in it.
Trait Implementations§
impl Copy for Ink
impl Eq for Ink
impl StructuralPartialEq for Ink
Auto Trait Implementations§
impl Freeze for Ink
impl RefUnwindSafe for Ink
impl Send for Ink
impl Sync for Ink
impl Unpin for Ink
impl UnsafeUnpin for Ink
impl UnwindSafe for Ink
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