pub struct DimensionSelection { /* private fields */ }Implementations§
Source§impl DimensionSelection
impl DimensionSelection
pub fn all() -> Self
pub fn only(values: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn except(values: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn mode(&self) -> DimensionSelectionMode
pub fn dimensions(&self) -> &BTreeSet<String>
pub fn scope_mode(&self) -> DimensionScopeMode
pub fn abouts(&self) -> &BTreeSet<String>
pub fn scope_ids(&self) -> &BTreeSet<String>
pub fn with_scope_ids( self, scope_ids: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn with_current_about_scope(self) -> Self
pub fn with_about_scope( self, abouts: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn with_all_about_scope(self) -> Self
pub fn resolve_current_about(&self, current_about: &str) -> Self
pub fn includes(&self, dimension: &str) -> bool
pub fn includes_dimension(&self, dimension: &str) -> bool
pub fn includes_coordinate(&self, dimension: &str, scope_id: &str) -> bool
pub fn includes_scope(&self, scope_id: &str) -> bool
pub fn includes_dimension_scope(&self, scope_id: &str) -> bool
Trait Implementations§
Source§impl Clone for DimensionSelection
impl Clone for DimensionSelection
Source§fn clone(&self) -> DimensionSelection
fn clone(&self) -> DimensionSelection
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 DimensionSelection
impl Debug for DimensionSelection
Source§impl Default for DimensionSelection
impl Default for DimensionSelection
impl Eq for DimensionSelection
Source§impl PartialEq for DimensionSelection
impl PartialEq for DimensionSelection
impl StructuralPartialEq for DimensionSelection
Auto Trait Implementations§
impl Freeze for DimensionSelection
impl RefUnwindSafe for DimensionSelection
impl Send for DimensionSelection
impl Sync for DimensionSelection
impl Unpin for DimensionSelection
impl UnsafeUnpin for DimensionSelection
impl UnwindSafe for DimensionSelection
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