pub enum FallbackKind {
Versioned,
BasenameOnly,
}Expand description
Kind of fallback that matched, returned by find_file_fallback.
Versioned — suffix/prefix stripping changed the basename (Perl
FindFile_fallback’s core function). Drivers: 1206.0536 (mysvjour3
→ svjour3), astro-ph0005021 (./aaspp4 → ./aaspp).
BasenameOnly — the only change was directory-prefix removal,
matching the binding registry by leaf name. This is a Rust-specific
extension on top of Perl’s FindFile_fallback that exists because
our contrib-binding registry is keyed by basename. Drivers:
2105.02087 (misc/ieeetran → IEEEtran binding); 2405.18387
(assets/equations → equations binding).
Both kinds win unconditionally over local raw .sty/.cls files
at the call site (see input_definitions Step 3): the .rs
bindings are hand-tuned for the conversion, so a binding match
always supersedes a co-located vendored copy. The variant is
preserved for diagnostics and potential future policy tweaks.
Variants§
Trait Implementations§
Source§impl Clone for FallbackKind
impl Clone for FallbackKind
Source§fn clone(&self) -> FallbackKind
fn clone(&self) -> FallbackKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more