pub enum PreactJsxRuntime {
Classic,
Automatic,
}Expand description
Preact JSX runtime labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PreactJsxRuntime
impl Clone for PreactJsxRuntime
Source§fn clone(&self) -> PreactJsxRuntime
fn clone(&self) -> PreactJsxRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreactJsxRuntime
impl Debug for PreactJsxRuntime
Source§impl Display for PreactJsxRuntime
impl Display for PreactJsxRuntime
Source§impl FromStr for PreactJsxRuntime
impl FromStr for PreactJsxRuntime
Source§type Err = PreactNameError
type Err = PreactNameError
The associated error which can be returned from parsing.
Source§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 moreSource§impl Hash for PreactJsxRuntime
impl Hash for PreactJsxRuntime
Source§impl Ord for PreactJsxRuntime
impl Ord for PreactJsxRuntime
Source§fn cmp(&self, other: &PreactJsxRuntime) -> Ordering
fn cmp(&self, other: &PreactJsxRuntime) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for PreactJsxRuntime
impl PartialEq for PreactJsxRuntime
Source§fn eq(&self, other: &PreactJsxRuntime) -> bool
fn eq(&self, other: &PreactJsxRuntime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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