pub struct GroupKeys { /* private fields */ }Expand description
Original ordered key columns and complete group keys in one actual domain.
Implementations§
Source§impl GroupKeys
impl GroupKeys
Sourcepub fn new(
dimensions: Vec<GroupDimensionRef>,
columns: Vec<AxisValues>,
) -> Result<GroupKeys, Error>
pub fn new( dimensions: Vec<GroupDimensionRef>, columns: Vec<AxisValues>, ) -> Result<GroupKeys, Error>
Capture actual aligned group dimensions and their native columns.
Sourcepub fn dimensions(&self) -> &[GroupDimensionRef]
pub fn dimensions(&self) -> &[GroupDimensionRef]
Actual ordered grouping dimensions.
Sourcepub fn columns(&self) -> &[AxisValues]
pub fn columns(&self) -> &[AxisValues]
Original key columns in dimension order.
Trait Implementations§
Auto Trait Implementations§
impl Forget for GroupKeys
impl Freeze for GroupKeyswhere
*const ArcInner<[GroupDimensionRef]> is !null: Freeze,
PhantomData<ArcInner<[GroupDimensionRef]>>: Freeze,
*const ArcInner<[AxisValues]> is !null: Freeze,
PhantomData<ArcInner<[AxisValues]>>: Freeze,
*const ArcInner<[GroupKey]> is !null: Freeze,
PhantomData<ArcInner<[GroupKey]>>: Freeze,
impl Move for GroupKeys
impl RefUnwindSafe for GroupKeys
impl Send for GroupKeys
impl Sync for GroupKeys
impl Unpin for GroupKeys
impl UnsafeUnpin for GroupKeyswhere
*const ArcInner<[GroupDimensionRef]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[GroupDimensionRef]>>: UnsafeUnpin,
*const ArcInner<[AxisValues]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[AxisValues]>>: UnsafeUnpin,
*const ArcInner<[GroupKey]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[GroupKey]>>: UnsafeUnpin,
impl UnwindSafe for GroupKeyswhere
Arc<[GroupDimensionRef]>: UnwindSafe,
Arc<[AxisValues]>: UnwindSafe,
Arc<[GroupKey]>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.