Struct rocket_dyn_templates::tera::ast::WS
source · pub struct WS {
pub left: bool,
pub right: bool,
}
Expand description
Whether to remove the whitespace of a {% %}
tag
Fields§
§left: bool
true
if the tag is {%-
right: bool
true
if the tag is -%}
Trait Implementations§
impl Copy for WS
impl StructuralPartialEq for WS
Auto Trait Implementations§
impl RefUnwindSafe for WS
impl Send for WS
impl Sync for WS
impl Unpin for WS
impl UnwindSafe for WS
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self
into a collection.