pub struct FlatMaTree { /* private fields */ }
Expand description
A “flat” meta-adaptive tree, constructed with MaConfig::make_flat_tree
.
Implementations§
source§impl FlatMaTree
impl FlatMaTree
sourcepub fn need_self_correcting(&self) -> bool
pub fn need_self_correcting(&self) -> bool
Returns whether self-correcting predictor should be initialized.
The return value of this method can be used to optimize the decoding process, since self-correcting predictors are computationally heavy.
sourcepub fn max_prev_channel_depth(&self) -> usize
pub fn max_prev_channel_depth(&self) -> usize
Returns the number of previously decoded channels needed in order to traverse the MA tree.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlatMaTree
impl RefUnwindSafe for FlatMaTree
impl Send for FlatMaTree
impl Sync for FlatMaTree
impl Unpin for FlatMaTree
impl UnwindSafe for FlatMaTree
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