pub enum Loss {
Lossless,
Degraded,
Unrepresentable,
}Expand description
The markdown-projection loss class of an island — a description of how
faithfully the projection carries it, for a consumer to surface (a caller
warned that a form field silently dropped a table, issue #1043). It is not a
switch: crate::export::to_markdown dispatches on
Island::island_type, never on this.
Variants§
Lossless
Markdown carries it faithfully (round-trips identically).
Degraded
Markdown carries an approximation (round-trips visibly, not identically).
Unrepresentable
No markdown encoding — what an island type with no projection carries, and the safe default a decoder mints for an unrecognized loss class.
Trait Implementations§
impl Copy for Loss
impl Eq for Loss
impl StructuralPartialEq for Loss
Auto Trait Implementations§
impl Freeze for Loss
impl RefUnwindSafe for Loss
impl Send for Loss
impl Sync for Loss
impl Unpin for Loss
impl UnsafeUnpin for Loss
impl UnwindSafe for Loss
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.