pub enum SymbolicStatus {
Available,
ProvidedByHint,
Lost {
reason: Symbol,
},
}Expand description
Whether a Func exposes an exact symbolic body, is differentiable through
a named hint, or has lost its symbolic body for a named reason.
Variants§
Available
A CAS body is available and can be inspected by symbolic tools.
ProvidedByHint
The function is native-only, but metadata names a differentiator that can handle it numerically or exactly outside the CAS path.
Lost
The function is native-only because symbolic information was lost.
Implementations§
Source§impl SymbolicStatus
impl SymbolicStatus
Sourcepub fn native_only() -> Self
pub fn native_only() -> Self
Reason used for ordinary native functions with no symbolic body.
Sourcepub fn mixed_native() -> Self
pub fn mixed_native() -> Self
Reason used when arithmetic combines a symbolic body with a native-only body and must keep only the executable native result.
Trait Implementations§
Source§impl Clone for SymbolicStatus
impl Clone for SymbolicStatus
Source§fn clone(&self) -> SymbolicStatus
fn clone(&self) -> SymbolicStatus
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 Debug for SymbolicStatus
impl Debug for SymbolicStatus
impl Eq for SymbolicStatus
Source§impl PartialEq for SymbolicStatus
impl PartialEq for SymbolicStatus
impl StructuralPartialEq for SymbolicStatus
Auto Trait Implementations§
impl Freeze for SymbolicStatus
impl RefUnwindSafe for SymbolicStatus
impl Send for SymbolicStatus
impl Sync for SymbolicStatus
impl Unpin for SymbolicStatus
impl UnsafeUnpin for SymbolicStatus
impl UnwindSafe for SymbolicStatus
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