pub struct Significance<P> { /* private fields */ }Expand description
One caller-owned significance annotation with a compile-time placement.
Implementations§
Source§impl Significance<Attached>
impl Significance<Attached>
Sourcepub fn at(
target: impl Into<SignificanceTarget>,
mark: SignificanceMark,
) -> Significance<Attached>
pub fn at( target: impl Into<SignificanceTarget>, mark: SignificanceMark, ) -> Significance<Attached>
Place one significance mark at a categorical target.
Source§impl Significance<Pairwise>
impl Significance<Pairwise>
Sourcepub fn between(
endpoint_a: impl Into<SignificanceTarget>,
endpoint_b: impl Into<SignificanceTarget>,
mark: SignificanceMark,
) -> Significance<Pairwise>
pub fn between( endpoint_a: impl Into<SignificanceTarget>, endpoint_b: impl Into<SignificanceTarget>, mark: SignificanceMark, ) -> Significance<Pairwise>
Draw one pairwise bracket between two categorical targets.
Source§impl<P> Significance<P>
impl<P> Significance<P>
Sourcepub fn facet(self, cell: FacetCell) -> Significance<P>
pub fn facet(self, cell: FacetCell) -> Significance<P>
Restrict this annotation to one exact configured facet cell.
Sourcepub fn get_annotation(&self) -> &SignificanceAnnotation
pub fn get_annotation(&self) -> &SignificanceAnnotation
Inspect this actual original native annotation before it is attached.
Trait Implementations§
Source§impl<P> Clone for Significance<P>where
P: Clone,
impl<P> Clone for Significance<P>where
P: Clone,
Source§fn clone(&self) -> Significance<P>
fn clone(&self) -> Significance<P>
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<P> Debug for Significance<P>where
P: Debug,
impl<P> Debug for Significance<P>where
P: Debug,
Source§impl<P> PartialEq for Significance<P>where
P: PartialEq,
impl<P> PartialEq for Significance<P>where
P: PartialEq,
impl<P> StructuralPartialEq for Significance<P>where
P: PartialEq,
Auto Trait Implementations§
impl<P> Forget for Significance<P>
impl<P> Freeze for Significance<P>where
*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,
PhantomData<P>: Freeze,
impl<P> Move for Significance<P>
impl<P> RefUnwindSafe for Significance<P>
impl<P> Send for Significance<P>
impl<P> Sync for Significance<P>
impl<P> Unpin for Significance<P>
impl<P> UnsafeUnpin for Significance<P>where
*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,
PhantomData<P>: UnsafeUnpin,
impl<P> UnwindSafe for Significance<P>where
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<SignificanceBinding>: UnwindSafe,
P: 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.