pub enum Lighting {
System,
Dark,
Light,
}Expand description
Which palette the pages are drawn in. System is the absence of an
opinion, resolved where the page is drawn rather than in the
stylesheet: the light palette is declared once, and a second
declaration of it inside a prefers-color-scheme block would be a
second authority for the same rungs.
Variants§
Trait Implementations§
impl Copy for Lighting
Source§impl<'de> Deserialize<'de> for Lighting
impl<'de> Deserialize<'de> for Lighting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Lighting
impl StructuralPartialEq for Lighting
Auto Trait Implementations§
impl Freeze for Lighting
impl RefUnwindSafe for Lighting
impl Send for Lighting
impl Sync for Lighting
impl Unpin for Lighting
impl UnsafeUnpin for Lighting
impl UnwindSafe for Lighting
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