pub enum ControlKind {
If,
With,
Range,
Define,
Block,
}Expand description
Go-template action that owns a structured body.
Variants§
If
Conditional if action.
With
Context-selecting with action.
Range
Iterating range action.
Define
Named-template define action.
Block
Overridable named-template block action.
Trait Implementations§
Source§impl Clone for ControlKind
impl Clone for ControlKind
Source§fn clone(&self) -> ControlKind
fn clone(&self) -> ControlKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlKind
Source§impl Debug for ControlKind
impl Debug for ControlKind
impl Eq for ControlKind
Source§impl PartialEq for ControlKind
impl PartialEq for ControlKind
impl StructuralPartialEq for ControlKind
Auto Trait Implementations§
impl Freeze for ControlKind
impl RefUnwindSafe for ControlKind
impl Send for ControlKind
impl Sync for ControlKind
impl Unpin for ControlKind
impl UnsafeUnpin for ControlKind
impl UnwindSafe for ControlKind
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