pub struct VectorVariableGroups { /* private fields */ }Expand description
Ordered groups of component variable ids (pinned baseline vector_vars style).
The first id in each group is the logical discovery node; remaining ids are CI-only components excluded from the search variable list.
Implementations§
Source§impl VectorVariableGroups
impl VectorVariableGroups
Sourcepub fn groups(&self) -> &[Arc<[VariableId]>]
pub fn groups(&self) -> &[Arc<[VariableId]>]
Borrow groups.
Sourcepub fn logical_ids(&self) -> Vec<VariableId>
pub fn logical_ids(&self) -> Vec<VariableId>
Logical discovery nodes (first component of each group).
Sourcepub fn secondary_component_ids(&self) -> Vec<VariableId>
pub fn secondary_component_ids(&self) -> Vec<VariableId>
Component ids that are not logical heads (excluded from search vars).
Sourcepub fn filter_search_variables(
&self,
variables: &[VariableId],
) -> Vec<VariableId>
pub fn filter_search_variables( &self, variables: &[VariableId], ) -> Vec<VariableId>
Filter variables to logical search nodes (drop secondary components).
Trait Implementations§
Source§impl Clone for VectorVariableGroups
impl Clone for VectorVariableGroups
Source§fn clone(&self) -> VectorVariableGroups
fn clone(&self) -> VectorVariableGroups
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 VectorVariableGroups
impl Debug for VectorVariableGroups
Source§impl Default for VectorVariableGroups
impl Default for VectorVariableGroups
Source§fn default() -> VectorVariableGroups
fn default() -> VectorVariableGroups
Returns the “default value” for a type. Read more
impl Eq for VectorVariableGroups
Source§impl PartialEq for VectorVariableGroups
impl PartialEq for VectorVariableGroups
impl StructuralPartialEq for VectorVariableGroups
Auto Trait Implementations§
impl Freeze for VectorVariableGroups
impl RefUnwindSafe for VectorVariableGroups
impl Send for VectorVariableGroups
impl Sync for VectorVariableGroups
impl Unpin for VectorVariableGroups
impl UnsafeUnpin for VectorVariableGroups
impl UnwindSafe for VectorVariableGroups
Blanket Implementations§
impl<T> Allocation for T
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