pub enum Descend {
Accept,
Skip,
Reject,
Prune,
}Expand description
The disposition of a block during a traverse_blocks walk: whether the
block is included in the results and whether its children are visited.
The variants correspond one-to-one with the return values of Asciidoctor’s
find_by block filter.
Variants§
Accept
Include this block and descend into its children. (Asciidoctor :accept
/ true.)
Skip
Omit this block but still descend into its children. (Asciidoctor
:skip / false.)
Reject
Omit this block and skip its children. (Asciidoctor :reject.)
Prune
Include this block but skip its children. (Asciidoctor :prune.)
Trait Implementations§
impl Copy for Descend
impl Eq for Descend
impl StructuralPartialEq for Descend
Auto Trait Implementations§
impl Freeze for Descend
impl RefUnwindSafe for Descend
impl Send for Descend
impl Sync for Descend
impl Unpin for Descend
impl UnsafeUnpin for Descend
impl UnwindSafe for Descend
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