Enum PreactJsxRuntime
pub enum PreactJsxRuntime {
Classic,
Automatic,
}Expand description
Preact JSX runtime labels.
Variants§
Implementations§
§impl PreactJsxRuntime
impl PreactJsxRuntime
Trait Implementations§
§impl Clone for PreactJsxRuntime
impl Clone for PreactJsxRuntime
§fn clone(&self) -> PreactJsxRuntime
fn clone(&self) -> PreactJsxRuntime
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 more§impl Debug for PreactJsxRuntime
impl Debug for PreactJsxRuntime
§impl Display for PreactJsxRuntime
impl Display for PreactJsxRuntime
§impl FromStr for PreactJsxRuntime
impl FromStr for PreactJsxRuntime
§type Err = PreactNameError
type Err = PreactNameError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<PreactJsxRuntime, <PreactJsxRuntime as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PreactJsxRuntime, <PreactJsxRuntime as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PreactJsxRuntime
impl Hash for PreactJsxRuntime
§impl Ord for PreactJsxRuntime
impl Ord for PreactJsxRuntime
§fn cmp(&self, other: &PreactJsxRuntime) -> Ordering
fn cmp(&self, other: &PreactJsxRuntime) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for PreactJsxRuntime
impl PartialEq for PreactJsxRuntime
§impl PartialOrd for PreactJsxRuntime
impl PartialOrd for PreactJsxRuntime
impl Copy for PreactJsxRuntime
impl Eq for PreactJsxRuntime
impl StructuralPartialEq for PreactJsxRuntime
Auto Trait Implementations§
impl Freeze for PreactJsxRuntime
impl RefUnwindSafe for PreactJsxRuntime
impl Send for PreactJsxRuntime
impl Sync for PreactJsxRuntime
impl Unpin for PreactJsxRuntime
impl UnsafeUnpin for PreactJsxRuntime
impl UnwindSafe for PreactJsxRuntime
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