pub struct ExplainStep {
pub function: &'static str,
pub marker: String,
pub derivative: String,
}Expand description
One marker and the derivative SQL it rewrites to (part of an Explanation).
Fields§
§function: &'static strThe marker function: "grad" or "jvp".
marker: StringThe original marker call, exactly as written (e.g. grad(sin(x), x)).
derivative: StringThe derivative SQL it becomes (e.g. (cos(x))).
Trait Implementations§
Source§impl Clone for ExplainStep
impl Clone for ExplainStep
Source§fn clone(&self) -> ExplainStep
fn clone(&self) -> ExplainStep
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 moreAuto Trait Implementations§
impl Freeze for ExplainStep
impl RefUnwindSafe for ExplainStep
impl Send for ExplainStep
impl Sync for ExplainStep
impl Unpin for ExplainStep
impl UnsafeUnpin for ExplainStep
impl UnwindSafe for ExplainStep
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