pub enum RefCommand {
Ref,
PageRef,
EqRef,
AutoRef,
NameRef,
Cref,
CrefUpper,
Vref,
VrefUpper,
CpageRef,
}Expand description
Which reference-family command produced a LabelRef. A small explicit
table (the analog of project::IncludeKind) kept distinct so later passes
can honor differences (\cref capitalization, \nameref text, …).
Variants§
Implementations§
Source§impl RefCommand
impl RefCommand
Sourcepub fn is_key_list(self) -> bool
pub fn is_key_list(self) -> bool
Whether this command accepts a comma-separated key list (cleveref / varioref) rather than a single key.
Trait Implementations§
Source§impl Clone for RefCommand
impl Clone for RefCommand
Source§fn clone(&self) -> RefCommand
fn clone(&self) -> RefCommand
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 RefCommand
Source§impl Debug for RefCommand
impl Debug for RefCommand
impl Eq for RefCommand
Source§impl Hash for RefCommand
impl Hash for RefCommand
Source§impl PartialEq for RefCommand
impl PartialEq for RefCommand
impl StructuralPartialEq for RefCommand
Auto Trait Implementations§
impl Freeze for RefCommand
impl RefUnwindSafe for RefCommand
impl Send for RefCommand
impl Sync for RefCommand
impl Unpin for RefCommand
impl UnsafeUnpin for RefCommand
impl UnwindSafe for RefCommand
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