#[non_exhaustive]pub enum SignificanceAnnotation {
#[non_exhaustive] Attached {
target: SignificanceTarget,
mark: SignificanceMark,
facet: Option<FacetCell>,
origin: Option<SignificanceOrigin>,
},
#[non_exhaustive] Pairwise {
endpoint_a: SignificanceTarget,
endpoint_b: SignificanceTarget,
mark: SignificanceMark,
facet: Option<FacetCell>,
origin: Option<SignificanceOrigin>,
},
}Expand description
One actual original significance annotation and its optional supplied batch relation.
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.
#[non_exhaustive]Attached
One supplied attached mark.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
target: SignificanceTargetOriginal target.
§
mark: SignificanceMarkActual supplied or mapped display mark.
#[non_exhaustive]Pairwise
One supplied pairwise comparison.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
endpoint_a: SignificanceTargetFirst supplied endpoint.
§
endpoint_b: SignificanceTargetSecond supplied endpoint.
§
mark: SignificanceMarkActual supplied or mapped display mark.
Implementations§
Source§impl SignificanceAnnotation
impl SignificanceAnnotation
Sourcepub const fn mark(&self) -> SignificanceMark
pub const fn mark(&self) -> SignificanceMark
Actual supplied or mapped mark, before conversion to a displayed glyph.
Sourcepub fn at_target(&self) -> Option<&SignificanceTarget>
pub fn at_target(&self) -> Option<&SignificanceTarget>
Original attached target, if present.
Sourcepub fn endpoints(&self) -> Option<(&SignificanceTarget, &SignificanceTarget)>
pub fn endpoints(&self) -> Option<(&SignificanceTarget, &SignificanceTarget)>
Original pairwise endpoints, if present.
Sourcepub const fn facet_cell(&self) -> Option<&FacetCell>
pub const fn facet_cell(&self) -> Option<&FacetCell>
Actual facet restriction.
Sourcepub fn binding(&self) -> Option<&SignificanceBinding>
pub fn binding(&self) -> Option<&SignificanceBinding>
The owning original source batch, when supplied through result variables.
Sourcepub fn binding_row(&self) -> Option<usize>
pub fn binding_row(&self) -> Option<usize>
The actual row of its original result batch.
Sourcepub fn get_significance_split(&self) -> Option<&FacetBinding>
pub fn get_significance_split(&self) -> Option<&FacetBinding>
The active original per-result facet variable declaration, when present.
Trait Implementations§
Source§impl Clone for SignificanceAnnotation
impl Clone for SignificanceAnnotation
Source§impl Debug for SignificanceAnnotation
impl Debug for SignificanceAnnotation
Source§impl PartialEq for SignificanceAnnotation
impl PartialEq for SignificanceAnnotation
impl StructuralPartialEq for SignificanceAnnotation
Auto Trait Implementations§
impl Forget for SignificanceAnnotation
impl Freeze for SignificanceAnnotationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
PhantomData<RawKey>: Freeze,
*const RawKey is !null: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const ArcInner<SignificanceBinding> is !null: Freeze,
PhantomData<ArcInner<SignificanceBinding>>: Freeze,
impl Move for SignificanceAnnotation
impl RefUnwindSafe for SignificanceAnnotation
impl Send for SignificanceAnnotation
impl Sync for SignificanceAnnotation
impl Unpin for SignificanceAnnotation
impl UnsafeUnpin for SignificanceAnnotationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
PhantomData<RawKey>: UnsafeUnpin,
*const RawKey is !null: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const ArcInner<SignificanceBinding> is !null: UnsafeUnpin,
PhantomData<ArcInner<SignificanceBinding>>: UnsafeUnpin,
impl UnwindSafe for SignificanceAnnotationwhere
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<SignificanceBinding>: UnwindSafe,
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
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,
impl<T> Scalar for T
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.