pub struct IntEncoderConfig {
pub packing: PackingMode,
}Expand description
Configuration used for encoding integer values.
Fields§
§packing: PackingModePacking mode for encoding.
Implementations§
Source§impl IntEncoderConfig
impl IntEncoderConfig
Sourcepub fn with_packing(self, packing: PackingMode) -> Self
pub fn with_packing(self, packing: PackingMode) -> Self
Sets packing-modes to packing, returning self.
Trait Implementations§
Source§impl Clone for IntEncoderConfig
impl Clone for IntEncoderConfig
Source§fn clone(&self) -> IntEncoderConfig
fn clone(&self) -> IntEncoderConfig
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 IntEncoderConfig
impl Debug for IntEncoderConfig
Source§impl Default for IntEncoderConfig
impl Default for IntEncoderConfig
Source§fn default() -> IntEncoderConfig
fn default() -> IntEncoderConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for IntEncoderConfig
impl PartialEq for IntEncoderConfig
impl StructuralPartialEq for IntEncoderConfig
Auto Trait Implementations§
impl Freeze for IntEncoderConfig
impl RefUnwindSafe for IntEncoderConfig
impl Send for IntEncoderConfig
impl Sync for IntEncoderConfig
impl Unpin for IntEncoderConfig
impl UnwindSafe for IntEncoderConfig
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