#[non_exhaustive]pub enum StrictTarget {
Toilet031,
Figlet225,
}Expand description
Strict-compat target identifier carried by
FigletError::StrictCompatViolation (E012 US6 — AD-005 + FR-016).
Figlet225 is the existing strict-compat leaf (figlet 2.2.5 byte-equal
argv parser + diagnostics). Toilet031 is the Phase 8
toilet-strict-compat leaf (toilet 0.3-1 byte-equal renderer + filter
chain + 16-color floor).
Marked #[non_exhaustive] so future targets (e.g., a frozen figlet 2.2.4
or a future toilet 0.4 line) remain non-breaking additions per AD-013.
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.
Toilet031
Byte-equal compatibility with upstream toilet 0.3-1.
Figlet225
Byte-equal compatibility with upstream figlet 2.2.5.
Trait Implementations§
Source§impl Clone for StrictTarget
impl Clone for StrictTarget
Source§fn clone(&self) -> StrictTarget
fn clone(&self) -> StrictTarget
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 moreSource§impl Debug for StrictTarget
impl Debug for StrictTarget
Source§impl Hash for StrictTarget
impl Hash for StrictTarget
Source§impl PartialEq for StrictTarget
impl PartialEq for StrictTarget
Source§fn eq(&self, other: &StrictTarget) -> bool
fn eq(&self, other: &StrictTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StrictTarget
impl Eq for StrictTarget
impl StructuralPartialEq for StrictTarget
Auto Trait Implementations§
impl Freeze for StrictTarget
impl RefUnwindSafe for StrictTarget
impl Send for StrictTarget
impl Sync for StrictTarget
impl Unpin for StrictTarget
impl UnsafeUnpin for StrictTarget
impl UnwindSafe for StrictTarget
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