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§
Sourcefn is_lossless(&self, _context: &SharedValueContext) -> bool
fn is_lossless(&self, _context: &SharedValueContext) -> bool
Returns true if this representation is completely lossless in the current context.