pub struct FitResult { /* private fields */ }Expand description
A complete owning native fit from one scientific preparation.
Implementations§
Source§impl FitResult
impl FitResult
Sourcepub fn groups(&self) -> &[FitGroupResult]
pub fn groups(&self) -> &[FitGroupResult]
Actual training groups.
Sourcepub fn stat_fields(&self) -> &StatResult
pub fn stat_fields(&self) -> &StatResult
Shared actual prediction fields, not a second fit.
Sourcepub fn domains(&self) -> &[DataDomainInfo]
pub fn domains(&self) -> &[DataDomainInfo]
Actual observation and prediction domains.
Sourcepub fn members_in(
&self,
domain: &DataDomainRef,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>>
pub fn members_in( &self, domain: &DataDomainRef, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>>
Read a member of an actual result domain.
Sourcepub fn members(
&self,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>>
pub fn members( &self, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>>
Read a member when the result has a single actual domain.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FitResult
impl Freeze for FitResultwhere
*const ArcInner<[FitGroupResult]> is !null: Freeze,
PhantomData<ArcInner<[FitGroupResult]>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<DataDomainInfo>: Freeze,
PhantomData<Arc<[Option<SourceMembers>]>>: Freeze,
impl Move for FitResult
impl RefUnwindSafe for FitResult
impl Send for FitResultwhere
Arc<[FitGroupResult]>: Send,
RawVecInner: Send,
Arc<()>: Send,
Arc<[u8]>: Send,
BoxRaw<RawKey>: Send,
Arc<str>: Send,
Arc<[RawKey]>: Send,
Arc<[usize]>: Send,
Arc<[Option<u32>]>: Send,
Arc<SourceInfo>: Send,
Arc<SourceProjection>: Send,
Arc<[DataComponentInfo]>: Send,
Arc<[Option<SourceMembers>]>: Send,
impl Sync for FitResultwhere
Arc<[FitGroupResult]>: Sync,
RawVecInner: Sync,
Arc<()>: Sync,
Arc<[u8]>: Sync,
BoxRaw<RawKey>: Sync,
Arc<str>: Sync,
Arc<[RawKey]>: Sync,
Arc<[usize]>: Sync,
Arc<[Option<u32>]>: Sync,
Arc<SourceInfo>: Sync,
Arc<SourceProjection>: Sync,
Arc<[DataComponentInfo]>: Sync,
Arc<[Option<SourceMembers>]>: Sync,
impl Unpin for FitResultwhere
Arc<[FitGroupResult]>: Unpin,
*const u8 is !null: Unpin,
Arc<()>: Unpin,
Arc<[u8]>: Unpin,
Box<RawKey>: Unpin,
Arc<str>: Unpin,
Arc<[RawKey]>: Unpin,
Arc<[usize]>: Unpin,
Arc<[Option<u32>]>: Unpin,
Arc<SourceInfo>: Unpin,
Arc<SourceProjection>: Unpin,
Arc<[DataComponentInfo]>: Unpin,
Arc<[Option<SourceMembers>]>: Unpin,
impl UnsafeUnpin for FitResultwhere
*const ArcInner<[FitGroupResult]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[FitGroupResult]>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<DataDomainInfo>: UnsafeUnpin,
PhantomData<Arc<[Option<SourceMembers>]>>: UnsafeUnpin,
impl UnwindSafe for FitResultwhere
Arc<[FitGroupResult]>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<()>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<[RawKey]>: UnwindSafe,
Arc<[usize]>: UnwindSafe,
Arc<[Option<u32>]>: UnwindSafe,
Arc<SourceInfo>: UnwindSafe,
Arc<SourceProjection>: UnwindSafe,
Arc<[DataComponentInfo]>: UnwindSafe,
Arc<[Option<SourceMembers>]>: 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.