Struct ha_ndarray::ops::ArrayCompare
source · pub struct ArrayCompare<T, L, R> { /* private fields */ }
Expand description
An array comparison Op
Implementations§
source§impl<T: CDatatype, L: NDArray<DType = T>, R: NDArray<DType = T>> ArrayCompare<T, L, R>
impl<T: CDatatype, L: NDArray<DType = T>, R: NDArray<DType = T>> ArrayCompare<T, L, R>
sourcepub fn gt(left: L, right: R) -> Result<Self, Error>
pub fn gt(left: L, right: R) -> Result<Self, Error>
Initialize a new greater-than comparison Op
.
sourcepub fn ge(left: L, right: R) -> Result<Self, Error>
pub fn ge(left: L, right: R) -> Result<Self, Error>
Initialize a new equal-or-greater-than comparison Op
.
Trait Implementations§
source§impl<T: Clone, L: Clone, R: Clone> Clone for ArrayCompare<T, L, R>
impl<T: Clone, L: Clone, R: Clone> Clone for ArrayCompare<T, L, R>
source§fn clone(&self) -> ArrayCompare<T, L, R>
fn clone(&self) -> ArrayCompare<T, L, R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T, L, R> Op for ArrayCompare<T, L, R>where
T: CDatatype,
L: NDArrayRead<DType = T>,
R: NDArrayRead<DType = T>,
impl<T, L, R> Op for ArrayCompare<T, L, R>where T: CDatatype, L: NDArrayRead<DType = T>, R: NDArrayRead<DType = T>,
Auto Trait Implementations§
impl<T, L, R> RefUnwindSafe for ArrayCompare<T, L, R>where L: RefUnwindSafe, R: RefUnwindSafe,
impl<T, L, R> Send for ArrayCompare<T, L, R>where L: Send, R: Send,
impl<T, L, R> Sync for ArrayCompare<T, L, R>where L: Sync, R: Sync,
impl<T, L, R> Unpin for ArrayCompare<T, L, R>where L: Unpin, R: Unpin,
impl<T, L, R> UnwindSafe for ArrayCompare<T, L, R>where L: UnwindSafe, R: 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