Enum LitFileKind
pub enum LitFileKind {
Element,
Template,
Styles,
Controller,
Directive,
Decorator,
}Expand description
Lit file-kind labels.
Variants§
Implementations§
§impl LitFileKind
impl LitFileKind
Trait Implementations§
§impl Clone for LitFileKind
impl Clone for LitFileKind
§fn clone(&self) -> LitFileKind
fn clone(&self) -> LitFileKind
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 LitFileKind
impl Debug for LitFileKind
§impl Display for LitFileKind
impl Display for LitFileKind
§impl FromStr for LitFileKind
impl FromStr for LitFileKind
§type Err = LitNameError
type Err = LitNameError
The associated error which can be returned from parsing.
§fn from_str(input: &str) -> Result<LitFileKind, <LitFileKind as FromStr>::Err>
fn from_str(input: &str) -> Result<LitFileKind, <LitFileKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for LitFileKind
impl Hash for LitFileKind
§impl Ord for LitFileKind
impl Ord for LitFileKind
§impl PartialEq for LitFileKind
impl PartialEq for LitFileKind
§impl PartialOrd for LitFileKind
impl PartialOrd for LitFileKind
impl Copy for LitFileKind
impl Eq for LitFileKind
impl StructuralPartialEq for LitFileKind
Auto Trait Implementations§
impl Freeze for LitFileKind
impl RefUnwindSafe for LitFileKind
impl Send for LitFileKind
impl Sync for LitFileKind
impl Unpin for LitFileKind
impl UnsafeUnpin for LitFileKind
impl UnwindSafe for LitFileKind
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