pub enum Sentinel {
Main(QuillReference),
Card(String),
}Expand description
Discriminator for a Card’s metadata fence.
The first fence in a Quillmark document carries QUILL: <ref> and is the
document-level main card; every subsequent fence carries CARD: <tag>
and is a composable card. Sentinel captures that distinction in the typed
model so every fence is one uniform shape.
Variants§
Main(QuillReference)
QUILL: <ref> — the document entry card.
Card(String)
CARD: <tag> — a composable card with the given tag.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Sentinel
Auto Trait Implementations§
impl Freeze for Sentinel
impl RefUnwindSafe for Sentinel
impl Send for Sentinel
impl Sync for Sentinel
impl Unpin for Sentinel
impl UnsafeUnpin for Sentinel
impl UnwindSafe for Sentinel
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