pub struct PrismOptions {
pub language: PrismLanguage,
}Expand description
Read https://katex.org/docs/options.html for more information.
Fields§
§language: PrismLanguageWhether to render the math in the display mode.
Implementations§
Source§impl PrismOptions
impl PrismOptions
Sourcepub fn css() -> PrismOptions
pub fn css() -> PrismOptions
Render code as rust
Sourcepub fn rust() -> PrismOptions
pub fn rust() -> PrismOptions
Render code as rust
Trait Implementations§
Source§impl Clone for PrismOptions
impl Clone for PrismOptions
Source§fn clone(&self) -> PrismOptions
fn clone(&self) -> PrismOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrismOptions
impl Debug for PrismOptions
Source§impl Default for PrismOptions
impl Default for PrismOptions
Source§fn default() -> PrismOptions
fn default() -> PrismOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrismOptions
impl RefUnwindSafe for PrismOptions
impl Send for PrismOptions
impl Sync for PrismOptions
impl Unpin for PrismOptions
impl UnwindSafe for PrismOptions
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