#[non_exhaustive]pub enum PopulationSelector {
All,
Rows(Arc<[usize]>),
Environment {
env_index: usize,
},
TimeRange {
start: usize,
end: usize,
},
}Expand description
Population / period selector for change attribution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
All rows of the bound table.
Rows(Arc<[usize]>)
Explicit row indices into a tabular view.
Environment
Multi-environment index (resolved against [EnvironmentId] maps at call sites).
TimeRange
Inclusive-exclusive time/row range [start, end).
Implementations§
Trait Implementations§
Source§impl Clone for PopulationSelector
impl Clone for PopulationSelector
Source§fn clone(&self) -> PopulationSelector
fn clone(&self) -> PopulationSelector
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 moreSource§impl Debug for PopulationSelector
impl Debug for PopulationSelector
impl Eq for PopulationSelector
Source§impl Hash for PopulationSelector
impl Hash for PopulationSelector
Source§impl PartialEq for PopulationSelector
impl PartialEq for PopulationSelector
impl StructuralPartialEq for PopulationSelector
Auto Trait Implementations§
impl Freeze for PopulationSelector
impl RefUnwindSafe for PopulationSelector
impl Send for PopulationSelector
impl Sync for PopulationSelector
impl Unpin for PopulationSelector
impl UnsafeUnpin for PopulationSelector
impl UnwindSafe for PopulationSelector
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