#[non_exhaustive]pub enum XrefCaptionLabel<'a> {
AtTarget,
AtReference(&'a str),
NumberOnly,
}Expand description
Selects the label used by an automatic cross-reference to a numbered caption.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AtTarget
Use the caption label recorded on the target.
AtReference(&'a str)
Use the caption label active at the reference position.
NumberOnly
Omit the label and show only the caption number.
Trait Implementations§
Source§impl<'a> Clone for XrefCaptionLabel<'a>
impl<'a> Clone for XrefCaptionLabel<'a>
impl<'a> Copy for XrefCaptionLabel<'a>
Source§impl<'a> Debug for XrefCaptionLabel<'a>
impl<'a> Debug for XrefCaptionLabel<'a>
Source§impl<'a> Default for XrefCaptionLabel<'a>
impl<'a> Default for XrefCaptionLabel<'a>
impl<'a> Eq for XrefCaptionLabel<'a>
Source§impl<'a> PartialEq for XrefCaptionLabel<'a>
impl<'a> PartialEq for XrefCaptionLabel<'a>
impl<'a> StructuralPartialEq for XrefCaptionLabel<'a>
Auto Trait Implementations§
impl<'a> Freeze for XrefCaptionLabel<'a>
impl<'a> RefUnwindSafe for XrefCaptionLabel<'a>
impl<'a> Send for XrefCaptionLabel<'a>
impl<'a> Sync for XrefCaptionLabel<'a>
impl<'a> Unpin for XrefCaptionLabel<'a>
impl<'a> UnsafeUnpin for XrefCaptionLabel<'a>
impl<'a> UnwindSafe for XrefCaptionLabel<'a>
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