pub struct Typical {
pub p: f32,
pub min_keep: usize,
}Expand description
Keeps candidates closest to the distribution’s information content.
Fields§
§p: f32Target cumulative probability.
min_keep: usizeMinimum survivor count.
Trait Implementations§
impl Copy for Typical
impl StructuralPartialEq for Typical
Auto Trait Implementations§
impl Freeze for Typical
impl RefUnwindSafe for Typical
impl Send for Typical
impl Sync for Typical
impl Unpin for Typical
impl UnsafeUnpin for Typical
impl UnwindSafe for Typical
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