pub enum PreactFileKind {
Component,
Hook,
Context,
Provider,
Page,
Layout,
}Expand description
Preact file-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PreactFileKind
impl Clone for PreactFileKind
Source§fn clone(&self) -> PreactFileKind
fn clone(&self) -> PreactFileKind
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 PreactFileKind
impl Debug for PreactFileKind
Source§impl Display for PreactFileKind
impl Display for PreactFileKind
Source§impl FromStr for PreactFileKind
impl FromStr for PreactFileKind
Source§impl Hash for PreactFileKind
impl Hash for PreactFileKind
Source§impl Ord for PreactFileKind
impl Ord for PreactFileKind
Source§fn cmp(&self, other: &PreactFileKind) -> Ordering
fn cmp(&self, other: &PreactFileKind) -> 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 PreactFileKind
impl PartialEq for PreactFileKind
Source§fn eq(&self, other: &PreactFileKind) -> bool
fn eq(&self, other: &PreactFileKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PreactFileKind
impl PartialOrd for PreactFileKind
impl Copy for PreactFileKind
impl Eq for PreactFileKind
impl StructuralPartialEq for PreactFileKind
Auto Trait Implementations§
impl Freeze for PreactFileKind
impl RefUnwindSafe for PreactFileKind
impl Send for PreactFileKind
impl Sync for PreactFileKind
impl Unpin for PreactFileKind
impl UnsafeUnpin for PreactFileKind
impl UnwindSafe for PreactFileKind
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