pub enum DerivationSource {
Rule(String),
From(String),
}Expand description
Where a key-derivation takes its prefixes (grammar exactly-one-of).
Variants§
Rule(String)
rule: the keys that rule captured.
From(String)
from: the value of a frontmatter key, the one prefix.
Trait Implementations§
Source§impl Clone for DerivationSource
impl Clone for DerivationSource
Source§impl Debug for DerivationSource
impl Debug for DerivationSource
impl Eq for DerivationSource
Source§impl PartialEq for DerivationSource
impl PartialEq for DerivationSource
impl StructuralPartialEq for DerivationSource
Auto Trait Implementations§
impl Freeze for DerivationSource
impl RefUnwindSafe for DerivationSource
impl Send for DerivationSource
impl Sync for DerivationSource
impl Unpin for DerivationSource
impl UnsafeUnpin for DerivationSource
impl UnwindSafe for DerivationSource
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