pub enum DirectiveForm {
Text,
Leaf,
Container,
}Expand description
The surface form of a generic directive for Builder::add_directive.
Variants§
Trait Implementations§
Source§impl Clone for DirectiveForm
impl Clone for DirectiveForm
Source§fn clone(&self) -> DirectiveForm
fn clone(&self) -> DirectiveForm
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 DirectiveForm
Source§impl Debug for DirectiveForm
impl Debug for DirectiveForm
impl Eq for DirectiveForm
Source§impl PartialEq for DirectiveForm
impl PartialEq for DirectiveForm
impl StructuralPartialEq for DirectiveForm
Auto Trait Implementations§
impl Freeze for DirectiveForm
impl RefUnwindSafe for DirectiveForm
impl Send for DirectiveForm
impl Sync for DirectiveForm
impl Unpin for DirectiveForm
impl UnsafeUnpin for DirectiveForm
impl UnwindSafe for DirectiveForm
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