pub struct GradVec(pub Vec<f64>);Expand description
Newtype wrapper around Vec<f64> so we can implement Neg and Sum
(orphan rules prevent direct impls on Vec<f64>).
Tuple Fields§
§0: Vec<f64>Trait Implementations§
impl StructuralPartialEq for GradVec
Auto Trait Implementations§
impl Freeze for GradVec
impl RefUnwindSafe for GradVec
impl Send for GradVec
impl Sync for GradVec
impl Unpin for GradVec
impl UnsafeUnpin for GradVec
impl UnwindSafe for GradVec
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