Enum AstroDirectoryKind
pub enum AstroDirectoryKind {
Pages,
Layouts,
Components,
Content,
Public,
Src,
Integrations,
}Expand description
Astro directory labels.
Variants§
Implementations§
§impl AstroDirectoryKind
impl AstroDirectoryKind
Trait Implementations§
§impl Clone for AstroDirectoryKind
impl Clone for AstroDirectoryKind
§fn clone(&self) -> AstroDirectoryKind
fn clone(&self) -> AstroDirectoryKind
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 AstroDirectoryKind
impl Debug for AstroDirectoryKind
§impl Display for AstroDirectoryKind
impl Display for AstroDirectoryKind
§impl FromStr for AstroDirectoryKind
impl FromStr for AstroDirectoryKind
§type Err = AstroTextError
type Err = AstroTextError
The associated error which can be returned from parsing.
§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 more§impl Hash for AstroDirectoryKind
impl Hash for AstroDirectoryKind
§impl Ord for AstroDirectoryKind
impl Ord for AstroDirectoryKind
§fn cmp(&self, other: &AstroDirectoryKind) -> Ordering
fn cmp(&self, other: &AstroDirectoryKind) -> 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 AstroDirectoryKind
impl PartialEq for AstroDirectoryKind
§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