#[non_exhaustive]pub enum GroupKey {
File,
}Expand description
Aggregation key for the optional grouped block of an
AnalysisView.
Only File is supported today. #[non_exhaustive]
reserves namespace for Risk and Module as listed in the
shaping doc — adding variants is additive on crap-core.
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.
File
Aggregate by FunctionIdentity::file_path.
Implementations§
Trait Implementations§
Source§impl From<GroupByArg> for GroupKey
impl From<GroupByArg> for GroupKey
Source§fn from(arg: GroupByArg) -> Self
fn from(arg: GroupByArg) -> Self
Converts to this type from the input type.
Source§impl From<GroupKey> for GroupByArg
Reverse mapping for saved view presets. See From<SortKey>
above for the wildcard-arm rationale.
impl From<GroupKey> for GroupByArg
Reverse mapping for saved view presets. See From<SortKey>
above for the wildcard-arm rationale.
impl Copy for GroupKey
impl Eq for GroupKey
impl StructuralPartialEq for GroupKey
Auto Trait Implementations§
impl Freeze for GroupKey
impl RefUnwindSafe for GroupKey
impl Send for GroupKey
impl Sync for GroupKey
impl Unpin for GroupKey
impl UnsafeUnpin for GroupKey
impl UnwindSafe for GroupKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.