LosslessWithContext

Trait LosslessWithContext 

Source
pub trait LosslessWithContext {
    // Provided method
    fn is_lossless(&self, _context: &SharedValueContext) -> bool { ... }
}
Expand description

Trait indicating whether an alternative representation is lossless given serialization context.

Provided Methods§

Source

fn is_lossless(&self, _context: &SharedValueContext) -> bool

Returns true if this representation is completely lossless in the current context.

Implementors§