Enum PreactCompatMode
pub enum PreactCompatMode {
Native,
Compat,
}Expand description
Preact compatibility mode labels.
Variants§
Implementations§
§impl PreactCompatMode
impl PreactCompatMode
Trait Implementations§
§impl Clone for PreactCompatMode
impl Clone for PreactCompatMode
§fn clone(&self) -> PreactCompatMode
fn clone(&self) -> PreactCompatMode
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 PreactCompatMode
impl Debug for PreactCompatMode
§impl Display for PreactCompatMode
impl Display for PreactCompatMode
§impl FromStr for PreactCompatMode
impl FromStr for PreactCompatMode
§type Err = PreactNameError
type Err = PreactNameError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<PreactCompatMode, <PreactCompatMode as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PreactCompatMode, <PreactCompatMode as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PreactCompatMode
impl Hash for PreactCompatMode
§impl Ord for PreactCompatMode
impl Ord for PreactCompatMode
§fn cmp(&self, other: &PreactCompatMode) -> Ordering
fn cmp(&self, other: &PreactCompatMode) -> 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 PreactCompatMode
impl PartialEq for PreactCompatMode
§impl PartialOrd for PreactCompatMode
impl PartialOrd for PreactCompatMode
impl Copy for PreactCompatMode
impl Eq for PreactCompatMode
impl StructuralPartialEq for PreactCompatMode
Auto Trait Implementations§
impl Freeze for PreactCompatMode
impl RefUnwindSafe for PreactCompatMode
impl Send for PreactCompatMode
impl Sync for PreactCompatMode
impl Unpin for PreactCompatMode
impl UnsafeUnpin for PreactCompatMode
impl UnwindSafe for PreactCompatMode
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