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