pub enum RemixFileKind {
Route,
Root,
EntryClient,
EntryServer,
Config,
Styles,
ErrorBoundary,
}Expand description
Remix file-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RemixFileKind
impl Clone for RemixFileKind
Source§fn clone(&self) -> RemixFileKind
fn clone(&self) -> RemixFileKind
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 RemixFileKind
impl Debug for RemixFileKind
Source§impl Display for RemixFileKind
impl Display for RemixFileKind
Source§impl FromStr for RemixFileKind
impl FromStr for RemixFileKind
Source§type Err = RemixNameError
type Err = RemixNameError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<RemixFileKind, <RemixFileKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<RemixFileKind, <RemixFileKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for RemixFileKind
impl Hash for RemixFileKind
Source§impl Ord for RemixFileKind
impl Ord for RemixFileKind
Source§fn cmp(&self, other: &RemixFileKind) -> Ordering
fn cmp(&self, other: &RemixFileKind) -> 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 RemixFileKind
impl PartialEq for RemixFileKind
Source§fn eq(&self, other: &RemixFileKind) -> bool
fn eq(&self, other: &RemixFileKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RemixFileKind
impl PartialOrd for RemixFileKind
impl Copy for RemixFileKind
impl Eq for RemixFileKind
impl StructuralPartialEq for RemixFileKind
Auto Trait Implementations§
impl Freeze for RemixFileKind
impl RefUnwindSafe for RemixFileKind
impl Send for RemixFileKind
impl Sync for RemixFileKind
impl Unpin for RemixFileKind
impl UnsafeUnpin for RemixFileKind
impl UnwindSafe for RemixFileKind
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