pub enum LitTemplateKind {
Html,
Svg,
Css,
StaticHtml,
}Expand description
Lit template-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LitTemplateKind
impl Clone for LitTemplateKind
Source§fn clone(&self) -> LitTemplateKind
fn clone(&self) -> LitTemplateKind
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 LitTemplateKind
impl Debug for LitTemplateKind
Source§impl Display for LitTemplateKind
impl Display for LitTemplateKind
Source§impl FromStr for LitTemplateKind
impl FromStr for LitTemplateKind
Source§type Err = LitNameError
type Err = LitNameError
The associated error which can be returned from parsing.
Source§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 moreSource§impl Hash for LitTemplateKind
impl Hash for LitTemplateKind
Source§impl Ord for LitTemplateKind
impl Ord for LitTemplateKind
Source§fn cmp(&self, other: &LitTemplateKind) -> Ordering
fn cmp(&self, other: &LitTemplateKind) -> 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 LitTemplateKind
impl PartialEq for LitTemplateKind
Source§fn eq(&self, other: &LitTemplateKind) -> bool
fn eq(&self, other: &LitTemplateKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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