pub enum DirectiveAction {
RequireHanja,
RequireHangul,
SkipAnnotation,
}Expand description
Action applied when a user directive predicate matches an annotation.
Variants§
RequireHanja
Require rendered output to keep the original hanja visible.
RequireHangul
Require rendered output to include a hangul gloss.
SkipAnnotation
Collapse the annotation to plain primary text for the active renderer.
Trait Implementations§
Source§impl Clone for DirectiveAction
impl Clone for DirectiveAction
Source§fn clone(&self) -> DirectiveAction
fn clone(&self) -> DirectiveAction
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 moreSource§impl Debug for DirectiveAction
impl Debug for DirectiveAction
Source§impl PartialEq for DirectiveAction
impl PartialEq for DirectiveAction
Source§fn eq(&self, other: &DirectiveAction) -> bool
fn eq(&self, other: &DirectiveAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DirectiveAction
impl Eq for DirectiveAction
impl StructuralPartialEq for DirectiveAction
Auto Trait Implementations§
impl Freeze for DirectiveAction
impl RefUnwindSafe for DirectiveAction
impl Send for DirectiveAction
impl Sync for DirectiveAction
impl Unpin for DirectiveAction
impl UnsafeUnpin for DirectiveAction
impl UnwindSafe for DirectiveAction
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