pub struct NoTangent;Expand description
Marks a primal value with no differentiable input space.
Examples include a solver choice, an index, a sparsity pattern, or a
discrete sector. NoTangent is not a zero derivative: a zero derivative
belongs to a tangent space that exists, whereas NoTangent means there is
no such space.
Trait Implementations§
impl Copy for NoTangent
impl Eq for NoTangent
impl StructuralPartialEq for NoTangent
Auto Trait Implementations§
impl Freeze for NoTangent
impl RefUnwindSafe for NoTangent
impl Send for NoTangent
impl Sync for NoTangent
impl Unpin for NoTangent
impl UnsafeUnpin for NoTangent
impl UnwindSafe for NoTangent
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