pub struct PopulationSelection {
pub keep: Arc<[bool]>,
pub weights: Option<Arc<[f64]>>,
}Expand description
Resolved population as a keep-mask and optional observation weights.
Fields§
§keep: Arc<[bool]>Length-n keep mask (true = include).
weights: Option<Arc<[f64]>>Optional length-n non-negative weights (CustomDistribution).
Trait Implementations§
Source§impl Clone for PopulationSelection
impl Clone for PopulationSelection
Source§fn clone(&self) -> PopulationSelection
fn clone(&self) -> PopulationSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PopulationSelection
impl RefUnwindSafe for PopulationSelection
impl Send for PopulationSelection
impl Sync for PopulationSelection
impl Unpin for PopulationSelection
impl UnsafeUnpin for PopulationSelection
impl UnwindSafe for PopulationSelection
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