pub struct PagePalette {
pub paper: Rgba8,
pub ink: Rgba8,
}Expand description
An appearance’s paper (what white becomes) and ink (what black becomes).
Added in 0.2.0.
Fields§
§paper: Rgba8What white becomes.
ink: Rgba8What black becomes.
Trait Implementations§
Source§impl Clone for PagePalette
impl Clone for PagePalette
impl Copy for PagePalette
Source§impl Debug for PagePalette
impl Debug for PagePalette
impl Eq for PagePalette
Source§impl Hash for PagePalette
impl Hash for PagePalette
Source§impl PartialEq for PagePalette
impl PartialEq for PagePalette
impl StructuralPartialEq for PagePalette
Auto Trait Implementations§
impl Forget for PagePalette
impl Freeze for PagePalette
impl Move for PagePalette
impl RefUnwindSafe for PagePalette
impl Send for PagePalette
impl Sync for PagePalette
impl Unpin for PagePalette
impl UnsafeUnpin for PagePalette
impl UnwindSafe for PagePalette
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