Trait CompactOp

Source
pub trait CompactOp
where Self: Sized,
{ // Required methods fn compact(&self) -> Result<Self, Error>; fn compact_mixed_resolutions(&self) -> Result<Self, Error>; fn uncompact(&self, resolution: Resolution) -> Self; }

Required Methods§

Source

fn compact(&self) -> Result<Self, Error>

expects all indexes to be at the same resolution

Source

fn compact_mixed_resolutions(&self) -> Result<Self, Error>

Source

fn uncompact(&self, resolution: Resolution) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§