pub struct EncoderOptions {
pub event_drop: EventDrop,
pub event_order: EventOrder,
pub crf: Crf,
}
Expand description
Options related to encoder controls (what gets encoded and how) TODO: Move adu_interval into this, rather than be fixed for the whole compressed file
Fields§
§event_drop: EventDrop
Allow the encoder to randomly drop events before compressing, if the event rate is too high
event_order: EventOrder
Reorder the events according to their firing times
crf: Crf
Implementations§
Trait Implementations§
Source§impl Clone for EncoderOptions
impl Clone for EncoderOptions
Source§fn clone(&self) -> EncoderOptions
fn clone(&self) -> EncoderOptions
Returns a copy 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 EncoderOptions
impl Debug for EncoderOptions
Source§impl PartialEq for EncoderOptions
impl PartialEq for EncoderOptions
impl Copy for EncoderOptions
impl StructuralPartialEq for EncoderOptions
Auto Trait Implementations§
impl Freeze for EncoderOptions
impl RefUnwindSafe for EncoderOptions
impl Send for EncoderOptions
impl Sync for EncoderOptions
impl Unpin for EncoderOptions
impl UnwindSafe for EncoderOptions
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