pub struct FieldCompressor { /* private fields */ }Implementations§
Source§impl FieldCompressor
impl FieldCompressor
pub fn new() -> Self
pub fn with_enabled(enabled: bool) -> Self
pub fn is_enabled(&self) -> bool
pub fn set_enabled(&mut self, enabled: bool)
pub fn compute_field_deltas( &self, prev: &SerializedComponent, curr: &SerializedComponent, ) -> Option<Vec<FieldDelta>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldCompressor
impl RefUnwindSafe for FieldCompressor
impl Send for FieldCompressor
impl Sync for FieldCompressor
impl Unpin for FieldCompressor
impl UnwindSafe for FieldCompressor
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