[−][src]Enum hatter::Syntax
The different types of syntax that our Lexer
recognizes.
Variants
Bool(bool)
String(bool)
Implementations
impl Syntax
[src]
pub fn starts_expr(&self) -> bool
[src]
Does this syntax start an expression?
pub fn is_word_or_keyword(&self) -> bool
[src]
Is this a word or a keyword? Used for implicit body text in tags.
Trait Implementations
impl Clone for Syntax
[src]
impl Copy for Syntax
[src]
impl Debug for Syntax
[src]
impl PartialEq<Syntax> for Syntax
[src]
impl StructuralPartialEq for Syntax
[src]
Auto Trait Implementations
impl RefUnwindSafe for Syntax
impl Send for Syntax
impl Sync for Syntax
impl Unpin for Syntax
impl UnwindSafe for Syntax
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,