Skip to main content

FieldLedgerScope

Struct FieldLedgerScope 

Source
pub struct FieldLedgerScope { /* private fields */ }
Expand description

A stretch of digestion the document never keeps (a rehearsal of a frontmatter field’s value, latexml_engine’s frontmatter observer), over which the field ledger records (field_ledger_live, even once the placement settled it) and after which it is as it was: the entries pushed meanwhile are dropped, the pending cover and the settled flag put back, and the gate of field stamping (document::field_prov_stamped: a \title the rehearsal stamps) as it was (on drop). Its serials are read while it is open (field_ledger_entry); a print the document makes later is numbered as if it had never run.

The boxes the stomach stamped with a field provenance meanwhile (fieldProv/fieldSerial, invoke_token) are unstamped on drop as well (field_stamp_noted): a box the run did not make — a register’s, \copy/\usebox handing back the stored box itself — would otherwise keep the run’s serial, which the ledger no longer holds, and the document’s own print of it, finding it stamped, would not stamp it again (FM S2a.2 r9: \usebox{\ORCIDicon} in an \author, wrapped in an ltx:text with an id under the observer’s census switch, since deleted: 2405.14627, 2603.26792; repro sectioning-frontmatter/observer_rehearsal_leaves_a_used_box_unchanged).

Implementations§

Source§

impl FieldLedgerScope

Source

pub fn begin() -> Self

Open the scope: the ledger records from here.

Trait Implementations§

Source§

impl Drop for FieldLedgerScope

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

fn pin_drop(self: Pin<&mut Self>)

🔬This is a nightly-only experimental API. (pin_ergonomics)
Execute the destructor for this type, but different to Drop::drop, it requires self to be pinned. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.