pub enum HtmlStyling {
Classes,
Inline,
Minimal,
}Expand description
How token colors are applied in HTML output.
Variants§
Classes
class="..." spans plus a generated <style> carrying the theme’s colors.
Inline
style="..." spans with the colors inlined.
Minimal
class="..." spans with no colors emitted (supply your own stylesheet).
Trait Implementations§
Source§impl Clone for HtmlStyling
impl Clone for HtmlStyling
Source§fn clone(&self) -> HtmlStyling
fn clone(&self) -> HtmlStyling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HtmlStyling
Source§impl Debug for HtmlStyling
impl Debug for HtmlStyling
impl Eq for HtmlStyling
Source§impl PartialEq for HtmlStyling
impl PartialEq for HtmlStyling
impl StructuralPartialEq for HtmlStyling
Source§impl ValueEnum for HtmlStyling
impl ValueEnum for HtmlStyling
Auto Trait Implementations§
impl Freeze for HtmlStyling
impl RefUnwindSafe for HtmlStyling
impl Send for HtmlStyling
impl Sync for HtmlStyling
impl Unpin for HtmlStyling
impl UnsafeUnpin for HtmlStyling
impl UnwindSafe for HtmlStyling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.