pub enum PrismLanguage {
HTML,
JavaScript,
Rust,
Css,
}Expand description
A Rust struct that represents the options for the Prism Wasm library.
Variants§
HTML
The Rust language.
JavaScript
The JavaScript language.
Rust
The TypeScript language.
Css
The Python language.
Trait Implementations§
Source§impl Clone for PrismLanguage
impl Clone for PrismLanguage
Source§fn clone(&self) -> PrismLanguage
fn clone(&self) -> PrismLanguage
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 PrismLanguage
impl Debug for PrismLanguage
Source§impl Display for PrismLanguage
impl Display for PrismLanguage
impl Copy for PrismLanguage
Auto Trait Implementations§
impl Freeze for PrismLanguage
impl RefUnwindSafe for PrismLanguage
impl Send for PrismLanguage
impl Sync for PrismLanguage
impl Unpin for PrismLanguage
impl UnwindSafe for PrismLanguage
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