pub struct OutputAction {
pub span: Span,
pub expr_span: Span,
}Expand description
A standalone-line output action ({{ include "x" . }} on its own line).
Inline actions inside scalars are represented as ScalarPart::Holes
instead.
Fields§
§span: SpanThe full action span including delimiters.
expr_span: SpanThe span of the expression inside the delimiters.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutputAction
impl RefUnwindSafe for OutputAction
impl Send for OutputAction
impl Sync for OutputAction
impl Unpin for OutputAction
impl UnsafeUnpin for OutputAction
impl UnwindSafe for OutputAction
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