pub struct Action {
pub trim_left: bool,
pub trim_right: bool,
pub body: ActionBody,
}Expand description
An action (directive inside {{ }})
Fields§
§trim_left: boolWhether the action has left whitespace trimming ({{-)
trim_right: boolWhether the action has right whitespace trimming (-}})
body: ActionBodyThe action body
Trait Implementations§
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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