pub enum StrEncoder {
Plain {
string_lengths: IntEncoder,
},
Fsst(FsstStrEncoder),
}Variants§
Implementations§
Source§impl StrEncoder
impl StrEncoder
pub fn plain(string_lengths: IntEncoder) -> Self
pub fn fsst(symbol_lengths: IntEncoder, dict_lengths: IntEncoder) -> Self
Trait Implementations§
Source§impl Clone for StrEncoder
impl Clone for StrEncoder
Source§fn clone(&self) -> StrEncoder
fn clone(&self) -> StrEncoder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StrEncoder
impl Debug for StrEncoder
Source§impl PartialEq for StrEncoder
impl PartialEq for StrEncoder
impl Copy for StrEncoder
impl Eq for StrEncoder
impl StructuralPartialEq for StrEncoder
Auto Trait Implementations§
impl Freeze for StrEncoder
impl RefUnwindSafe for StrEncoder
impl Send for StrEncoder
impl Sync for StrEncoder
impl Unpin for StrEncoder
impl UnsafeUnpin for StrEncoder
impl UnwindSafe for StrEncoder
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