Enum prism_wasmbind::PrismLanguage
source · [−]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
sourceimpl Clone for PrismLanguage
impl Clone for PrismLanguage
sourcefn clone(&self) -> PrismLanguage
fn clone(&self) -> PrismLanguage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrismLanguage
impl Debug for PrismLanguage
sourceimpl Display for PrismLanguage
impl Display for PrismLanguage
impl Copy for PrismLanguage
Auto Trait Implementations
impl RefUnwindSafe for PrismLanguage
impl Send for PrismLanguage
impl Sync for PrismLanguage
impl Unpin for PrismLanguage
impl UnwindSafe for PrismLanguage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more