Struct argmin::core::NoOperator
source · [−]pub struct NoOperator<T, U, H, J, F> { /* private fields */ }
Expand description
Fake Operators for testing No-op operator with free choice of the types
Implementations
sourceimpl<T, U, H, J, F> NoOperator<T, U, H, J, F>
impl<T, U, H, J, F> NoOperator<T, U, H, J, F>
Trait Implementations
sourceimpl<T, U, H, J, F> ArgminOp for NoOperator<T, U, H, J, F> where
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
J: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
F: ArgminFloat,
impl<T, U, H, J, F> ArgminOp for NoOperator<T, U, H, J, F> where
T: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
U: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
H: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
J: Clone + Default + Debug + Send + Sync + Serialize + DeserializeOwned,
F: ArgminFloat,
sourceimpl<T: Clone, U: Clone, H: Clone, J: Clone, F: Clone> Clone for NoOperator<T, U, H, J, F>
impl<T: Clone, U: Clone, H: Clone, J: Clone, F: Clone> Clone for NoOperator<T, U, H, J, F>
sourcefn clone(&self) -> NoOperator<T, U, H, J, F>
fn clone(&self) -> NoOperator<T, U, H, J, F>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Default, U: Default, H: Default, J: Default, F: Default> Default for NoOperator<T, U, H, J, F>
impl<T: Default, U: Default, H: Default, J: Default, F: Default> Default for NoOperator<T, U, H, J, F>
sourcefn default() -> NoOperator<T, U, H, J, F>
fn default() -> NoOperator<T, U, H, J, F>
Returns the “default value” for a type. Read more
sourceimpl<'de, T, U, H, J, F> Deserialize<'de> for NoOperator<T, U, H, J, F>
impl<'de, T, U, H, J, F> Deserialize<'de> for NoOperator<T, U, H, J, F>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T, U, H, J, F> Display for NoOperator<T, U, H, J, F>
impl<T, U, H, J, F> Display for NoOperator<T, U, H, J, F>
sourceimpl<T: Ord, U: Ord, H: Ord, J: Ord, F: Ord> Ord for NoOperator<T, U, H, J, F>
impl<T: Ord, U: Ord, H: Ord, J: Ord, F: Ord> Ord for NoOperator<T, U, H, J, F>
sourceimpl<T: PartialEq, U: PartialEq, H: PartialEq, J: PartialEq, F: PartialEq> PartialEq<NoOperator<T, U, H, J, F>> for NoOperator<T, U, H, J, F>
impl<T: PartialEq, U: PartialEq, H: PartialEq, J: PartialEq, F: PartialEq> PartialEq<NoOperator<T, U, H, J, F>> for NoOperator<T, U, H, J, F>
sourcefn eq(&self, other: &NoOperator<T, U, H, J, F>) -> bool
fn eq(&self, other: &NoOperator<T, U, H, J, F>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NoOperator<T, U, H, J, F>) -> bool
fn ne(&self, other: &NoOperator<T, U, H, J, F>) -> bool
This method tests for !=
.
sourceimpl<T: PartialOrd, U: PartialOrd, H: PartialOrd, J: PartialOrd, F: PartialOrd> PartialOrd<NoOperator<T, U, H, J, F>> for NoOperator<T, U, H, J, F>
impl<T: PartialOrd, U: PartialOrd, H: PartialOrd, J: PartialOrd, F: PartialOrd> PartialOrd<NoOperator<T, U, H, J, F>> for NoOperator<T, U, H, J, F>
sourcefn partial_cmp(&self, other: &NoOperator<T, U, H, J, F>) -> Option<Ordering>
fn partial_cmp(&self, other: &NoOperator<T, U, H, J, F>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<T, U, H, J, F> Serialize for NoOperator<T, U, H, J, F>
impl<T, U, H, J, F> Serialize for NoOperator<T, U, H, J, F>
impl<T: Copy, U: Copy, H: Copy, J: Copy, F: Copy> Copy for NoOperator<T, U, H, J, F>
impl<T: Eq, U: Eq, H: Eq, J: Eq, F: Eq> Eq for NoOperator<T, U, H, J, F>
impl<T, U, H, J, F> StructuralEq for NoOperator<T, U, H, J, F>
impl<T, U, H, J, F> StructuralPartialEq for NoOperator<T, U, H, J, F>
Auto Trait Implementations
impl<T, U, H, J, F> RefUnwindSafe for NoOperator<T, U, H, J, F> where
F: RefUnwindSafe,
H: RefUnwindSafe,
J: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U, H, J, F> Send for NoOperator<T, U, H, J, F> where
F: Send,
H: Send,
J: Send,
T: Send,
U: Send,
impl<T, U, H, J, F> Sync for NoOperator<T, U, H, J, F> where
F: Sync,
H: Sync,
J: Sync,
T: Sync,
U: Sync,
impl<T, U, H, J, F> Unpin for NoOperator<T, U, H, J, F> where
F: Unpin,
H: Unpin,
J: Unpin,
T: Unpin,
U: Unpin,
impl<T, U, H, J, F> UnwindSafe for NoOperator<T, U, H, J, F> where
F: UnwindSafe,
H: UnwindSafe,
J: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more