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