pub struct CalNexus { /* private fields */ }Expand description
CalNexus 门面:持有变量上下文,提供 5 个分组 trait 的访问器。
Implementations§
Source§impl CalNexus
impl CalNexus
Sourcepub fn clear_vars(&self)
pub fn clear_vars(&self)
清空所有变量。
Sourcepub fn scalar(&self) -> ScalarMathImpl<'_>
pub fn scalar(&self) -> ScalarMathImpl<'_>
获取标量数学 API。
Sourcepub fn linalg(&self) -> LinearAlgebraImpl<'_>
pub fn linalg(&self) -> LinearAlgebraImpl<'_>
获取线性代数 API。
Sourcepub fn stats(&self) -> DataAnalysisImpl<'_>
pub fn stats(&self) -> DataAnalysisImpl<'_>
获取数据分析 API。
Sourcepub fn symbolic(&self) -> SymbolicMathImpl<'_>
pub fn symbolic(&self) -> SymbolicMathImpl<'_>
获取符号数学 API。
Sourcepub fn applied(&self) -> AppliedMathImpl<'_>
pub fn applied(&self) -> AppliedMathImpl<'_>
获取应用数学 API(时间/单位/汇率)。
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CalNexus
impl Forget for CalNexus
impl Move for CalNexus
impl RefUnwindSafe for CalNexus
impl Send for CalNexus
impl Sync for CalNexus
impl Unpin for CalNexus
impl UnsafeUnpin for CalNexus
impl UnwindSafe for CalNexus
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> Pointable for T
impl<T> Pointable for T
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.