#[non_exhaustive]pub struct Raw {}
Expand description
No highlighting, defer to frontend
Implementations§
source§impl Raw
impl Raw
pub fn new() -> Self
pub fn load_custom_syntaxes(&mut self, _syntaxes_path: &Path)
pub fn has_theme(&self, _name: &str) -> bool
pub fn themes(&self) -> impl Iterator<Item = String> + '_
pub fn syntaxes(&self) -> impl Iterator<Item = String> + '_
pub fn format( &self, code: &str, lang: Option<&str>, _theme: Option<&str> ) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
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