#[repr(C)]pub struct PTable {
pub value: c_int,
pub prob: c_int,
}
Expand description
Used to assign a occurrence count or “probability” to an input value
Fields§
§value: c_int
< input value
prob: c_int
< number of occurences of this value in input
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PTable
impl RefUnwindSafe for PTable
impl Send for PTable
impl Sync for PTable
impl Unpin for PTable
impl UnwindSafe for PTable
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