pub struct Segmentation {
pub enabled: bool,
pub temporal: bool,
pub absolute_vals: bool,
pub update_map: bool,
pub prob: [u8; 7],
pub pred_prob: [u8; 3],
pub feat: [SegFeat; 8],
}Available on crate feature
decode only.Expand description
segmentation_params().
Fields§
§enabled: boolsegmentation_enabled.
temporal: boolsegmentation_temporal_update.
absolute_vals: boolsegmentation_abs_or_delta_update.
update_map: boolsegmentation_update_map.
prob: [u8; 7]segmentation_tree_probs.
pred_prob: [u8; 3]segmentation_pred_prob.
feat: [SegFeat; 8]Per segment.
Trait Implementations§
Source§impl Clone for Segmentation
impl Clone for Segmentation
impl Copy for Segmentation
Source§impl Debug for Segmentation
impl Debug for Segmentation
Auto Trait Implementations§
impl Forget for Segmentation
impl Freeze for Segmentation
impl Move for Segmentation
impl RefUnwindSafe for Segmentation
impl Send for Segmentation
impl Sync for Segmentation
impl Unpin for Segmentation
impl UnsafeUnpin for Segmentation
impl UnwindSafe for Segmentation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more