pub struct DensityResult(/* private fields */);Expand description
The actual evaluated density of one scientific group.
Implementations§
Source§impl DensityResult
impl DensityResult
Sourcepub fn fields(&self) -> &StatResult
pub fn fields(&self) -> &StatResult
The same actual evaluation fields consumed by scientific readback.
Sourcepub fn bandwidth(&self) -> Option<f64>
pub fn bandwidth(&self) -> Option<f64>
Bandwidth used to evaluate the curve, absent for supplied values.
Sourcepub fn denominator(&self) -> Option<&ExactInteger>
pub fn denominator(&self) -> Option<&ExactInteger>
Actual normalizing observation count, when known.
Sourcepub fn support(&self) -> (f64, f64)
pub fn support(&self) -> (f64, f64)
The first and last evaluated coordinates, independent of clipping.
Sourcepub fn get_display_density(&self) -> Option<&NumericValues>
pub fn get_display_density(&self) -> Option<&NumericValues>
Actual display density operands before projection or theme sizing. Closure at zero and common-normalization weighting leave the raw density unchanged.
Sourcepub fn display_divisor(&self) -> Option<f64>
pub fn display_divisor(&self) -> Option<f64>
Actual shared maximum used as the marginal strip divisor, if applicable.
Sourcepub fn group_weight(&self) -> Option<f64>
pub fn group_weight(&self) -> Option<f64>
Actual group fraction used by Matrix common normalization, if applicable.
Sourcepub fn common_norm_count(&self) -> Option<&ExactInteger>
pub fn common_norm_count(&self) -> Option<&ExactInteger>
Exact total observation count used by common normalization, if applicable.
Sourcepub fn domains(&self) -> &[DataDomainInfo]
pub fn domains(&self) -> &[DataDomainInfo]
Actual independent scientific result domains.
Sourcepub fn members(
&self,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members( &self, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Original members of an evaluation node.
Sourcepub fn members_in(
&self,
domain: &DataDomainRef,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members_in( &self, domain: &DataDomainRef, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Original members in the actual result domain.
Trait Implementations§
Source§impl Clone for DensityResult
impl Clone for DensityResult
Source§fn clone(&self) -> DensityResult
fn clone(&self) -> DensityResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Forget for DensityResult
impl Freeze for DensityResult
impl Move for DensityResult
impl RefUnwindSafe for DensityResult
impl Send for DensityResult
impl Sync for DensityResult
impl Unpin for DensityResult
impl UnsafeUnpin for DensityResultwhere
*const ArcInner<DensityData> is !null: UnsafeUnpin,
PhantomData<ArcInner<DensityData>>: UnsafeUnpin,
impl UnwindSafe for DensityResultwhere
Arc<DensityData>: 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
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.