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