pub enum AstroDirectoryKind {
Pages,
Layouts,
Components,
Content,
Public,
Src,
Integrations,
}Expand description
Astro directory labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AstroDirectoryKind
impl Clone for AstroDirectoryKind
Source§fn clone(&self) -> AstroDirectoryKind
fn clone(&self) -> AstroDirectoryKind
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 AstroDirectoryKind
impl Debug for AstroDirectoryKind
Source§impl Display for AstroDirectoryKind
impl Display for AstroDirectoryKind
Source§impl FromStr for AstroDirectoryKind
impl FromStr for AstroDirectoryKind
Source§type Err = AstroTextError
type Err = AstroTextError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<AstroDirectoryKind, <AstroDirectoryKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<AstroDirectoryKind, <AstroDirectoryKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AstroDirectoryKind
impl Hash for AstroDirectoryKind
Source§impl Ord for AstroDirectoryKind
impl Ord for AstroDirectoryKind
Source§fn cmp(&self, other: &AstroDirectoryKind) -> Ordering
fn cmp(&self, other: &AstroDirectoryKind) -> 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 AstroDirectoryKind
impl PartialEq for AstroDirectoryKind
Source§fn eq(&self, other: &AstroDirectoryKind) -> bool
fn eq(&self, other: &AstroDirectoryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AstroDirectoryKind
impl PartialOrd for AstroDirectoryKind
impl Copy for AstroDirectoryKind
impl Eq for AstroDirectoryKind
impl StructuralPartialEq for AstroDirectoryKind
Auto Trait Implementations§
impl Freeze for AstroDirectoryKind
impl RefUnwindSafe for AstroDirectoryKind
impl Send for AstroDirectoryKind
impl Sync for AstroDirectoryKind
impl Unpin for AstroDirectoryKind
impl UnsafeUnpin for AstroDirectoryKind
impl UnwindSafe for AstroDirectoryKind
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