pub struct BytesEncoderConfig {
pub bit0: Symbol,
pub bit1: Symbol,
pub msb_first: bool,
/* private fields */
}Expand description
The configuration for the BytesEncoder.
Fields§
§bit0: SymbolSpecifies the symbol used to represent a 0 bit.
bit1: SymbolSpecifies the symbol used to represent a 1 bit.
msb_first: boolIf true, bits are encoded most-significant bit first,
otherwise it will be least-significant bit (LSB) first.
Trait Implementations§
Source§impl Clone for BytesEncoderConfig
impl Clone for BytesEncoderConfig
Source§fn clone(&self) -> BytesEncoderConfig
fn clone(&self) -> BytesEncoderConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BytesEncoderConfig
impl Debug for BytesEncoderConfig
Auto Trait Implementations§
impl Freeze for BytesEncoderConfig
impl RefUnwindSafe for BytesEncoderConfig
impl Send for BytesEncoderConfig
impl Sync for BytesEncoderConfig
impl Unpin for BytesEncoderConfig
impl UnsafeUnpin for BytesEncoderConfig
impl UnwindSafe for BytesEncoderConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)