pub enum FootnoteIdPrefix {
None,
Value(String),
Function(fn(&Arena, NodeRef, &Context) -> String),
}Expand description
An enum representing the prefix of footnote IDs.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FootnoteIdPrefix
impl Clone for FootnoteIdPrefix
Source§fn clone(&self) -> FootnoteIdPrefix
fn clone(&self) -> FootnoteIdPrefix
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FootnoteIdPrefix
impl RefUnwindSafe for FootnoteIdPrefix
impl Send for FootnoteIdPrefix
impl Sync for FootnoteIdPrefix
impl Unpin for FootnoteIdPrefix
impl UnsafeUnpin for FootnoteIdPrefix
impl UnwindSafe for FootnoteIdPrefix
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