pub struct DeltaCompressor { /* private fields */ }Implementations§
Source§impl DeltaCompressor
impl DeltaCompressor
pub fn new() -> Self
pub fn with_field_compression(enable: bool) -> Self
pub fn create_delta(&mut self, current_snapshot: WorldSnapshot) -> Delta
pub fn reset(&mut self)
pub fn get_previous_snapshot(&self) -> Option<&WorldSnapshot>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeltaCompressor
impl RefUnwindSafe for DeltaCompressor
impl Send for DeltaCompressor
impl Sync for DeltaCompressor
impl Unpin for DeltaCompressor
impl UnwindSafe for DeltaCompressor
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