Struct askama_shared::Syntax
source · [−]pub struct Syntax<'a> {
pub block_start: &'a str,
pub block_end: &'a str,
pub expr_start: &'a str,
pub expr_end: &'a str,
pub comment_start: &'a str,
pub comment_end: &'a str,
}
Fields
block_start: &'a str
block_end: &'a str
expr_start: &'a str
expr_end: &'a str
comment_start: &'a str
comment_end: &'a str
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Syntax<'a>
impl<'a> Send for Syntax<'a>
impl<'a> Sync for Syntax<'a>
impl<'a> Unpin for Syntax<'a>
impl<'a> UnwindSafe for Syntax<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more