[−][src]Struct binjs::io::entropy::Options
Methods
impl Options
[src][−]
pub fn new(spec: &Spec, dictionaries: DictionaryFamily<Instances>) -> Options
[src][−]
Create a fresh Options
to encode/decode in a given grammar spec with
a family of dictionaries.
If dictionaries
is empty, a default dictionary is insertred.
pub fn statistics_for_write(&self) -> impl Display
[src][−]
Return the statistics as (number of instances, number of bytes).
pub fn with_split_streams(&mut self, value: bool) -> &mut Options
[src][−]
Configure the split-streams
option.
If value == true
, dump the individual streams for forensics purposes,
otherwise don't.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Options
impl !Send for Options
impl !Sync for Options
impl Unpin for Options
impl !UnwindSafe for Options
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Downcast for T where
T: Any,
[src][+]
T: Any,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,