pub struct TangentElement<P: Point, V: Tensor, Tower, const N: usize = 1>(pub P, pub JetVector<๐, V, N>, _);Expand description
A point together with a jet-valued tangent coordinate and its tower tag.
Tower distinguishes iterated tangent constructions that have identical
runtime representations. Use TangentElement::new rather than spelling
the marker explicitly.
Tuple Fieldsยง
ยง0: Pยง1: JetVector<๐, V, N>Implementationsยง
Trait Implementationsยง
Sourceยงimpl<P: Clone + Point, V: Clone + Tensor, Tower: Clone, const N: usize> Clone for TangentElement<P, V, Tower, N>
impl<P: Clone + Point, V: Clone + Tensor, Tower: Clone, const N: usize> Clone for TangentElement<P, V, Tower, N>
Sourceยงfn clone(&self) -> TangentElement<P, V, Tower, N>
fn clone(&self) -> TangentElement<P, V, Tower, N>
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<P, V, Tower, const N: usize> Freeze for TangentElement<P, V, Tower, N>
impl<P, V, Tower, const N: usize> RefUnwindSafe for TangentElement<P, V, Tower, N>where
P: RefUnwindSafe,
TensorOver<V, Jet<๐, <V as Tensor>::F, N>>: RefUnwindSafe,
PhantomData<Tower>: RefUnwindSafe,
impl<P, V, Tower, const N: usize> Send for TangentElement<P, V, Tower, N>
impl<P, V, Tower, const N: usize> Sync for TangentElement<P, V, Tower, N>
impl<P, V, Tower, const N: usize> Unpin for TangentElement<P, V, Tower, N>
impl<P, V, Tower, const N: usize> UnsafeUnpin for TangentElement<P, V, Tower, N>where
P: UnsafeUnpin,
TensorOver<V, Jet<๐, <V as Tensor>::F, N>>: UnsafeUnpin,
PhantomData<Tower>: UnsafeUnpin,
impl<P, V, Tower, const N: usize> UnwindSafe for TangentElement<P, V, Tower, N>where
P: UnwindSafe,
TensorOver<V, Jet<๐, <V as Tensor>::F, N>>: UnwindSafe,
PhantomData<Tower>: 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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<๐, X> Equivalent<๐, X> for Xwhere
๐: Cat,
impl<๐, X> Equivalent<๐, X> for Xwhere
๐: Cat,
Sourceยงimpl<T> OptionallyOption<T> for T
impl<T> OptionallyOption<T> for T
Sourceยงfn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts either permitted representation into
Option<T>. Read more