pub struct NoOpGroupNavigator;Expand description
A no-op group navigator that returns empty results for all queries.
Trait Implementations§
Source§fn find_segments_in_group(
&self,
_: &str,
_: &[&str],
_: usize,
) -> Vec<OwnedSegment>
fn find_segments_in_group( &self, _: &str, _: &[&str], _: usize, ) -> Vec<OwnedSegment>
Find all segments with the given tag within a specific group instance. Read more
Source§fn find_segments_with_qualifier_in_group(
&self,
_: &str,
_: usize,
_: &str,
_: &[&str],
_: usize,
) -> Vec<OwnedSegment>
fn find_segments_with_qualifier_in_group( &self, _: &str, _: usize, _: &str, _: &[&str], _: usize, ) -> Vec<OwnedSegment>
Find segments matching a tag + qualifier within a group instance. Read more
Source§fn group_instance_count(&self, _: &[&str]) -> usize
fn group_instance_count(&self, _: &[&str]) -> usize
Count repetitions of a group at the given path.
Source§fn find_segments_in_instance(
&self,
segment_id: &str,
path: &[(&str, usize)],
) -> Vec<OwnedSegment>
fn find_segments_in_instance( &self, segment_id: &str, path: &[(&str, usize)], ) -> Vec<OwnedSegment>
Find all segments with the given tag in one group instance, addressed
by the repetition index at every level:
[("SG4", 1), ("SG8", 0)] is
the first SG8 of the second SG4. Read moreSource§fn find_segments_in_subtree(
&self,
segment_id: &str,
path: &[(&str, usize)],
) -> Vec<OwnedSegment>
fn find_segments_in_subtree( &self, segment_id: &str, path: &[(&str, usize)], ) -> Vec<OwnedSegment>
Like
find_segments_in_instance, but
including the segments of every group nested in that instance: “in
dieser SG8 … SG10 CCI” reads the SG8’s SG10s too. Read moreSource§fn has_any_segment_in_group(
&self,
_group_path: &[&str],
_instance_index: usize,
) -> bool
fn has_any_segment_in_group( &self, _group_path: &[&str], _instance_index: usize, ) -> bool
Check if a group instance has any segments at all. Read more
Source§fn instance_has_mig_number(
&self,
_group_path: &[&str],
_instance_index: usize,
_mig_number: &str,
) -> bool
fn instance_has_mig_number( &self, _group_path: &[&str], _instance_index: usize, _mig_number: &str, ) -> bool
Check if a group instance belongs to the MIG variant identified by
mig_number. Read moreSource§fn child_group_instance_count(
&self,
parent_path: &[&str],
parent_instance: usize,
child_group_id: &str,
) -> usize
fn child_group_instance_count( &self, parent_path: &[&str], parent_instance: usize, child_group_id: &str, ) -> usize
Count repetitions of a child group within a specific parent group instance. Read more
Auto Trait Implementations§
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