pub struct Substitute(pub usize);
Expand description
Substitute operation with associated cost.
Tuple Fields
0: usize
Trait Implementations
sourceimpl Clone for Substitute
impl Clone for Substitute
sourcefn clone(&self) -> Substitute
fn clone(&self) -> Substitute
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 Debug for Substitute
impl Debug for Substitute
sourceimpl Hash for Substitute
impl Hash for Substitute
sourceimpl<T> Operation<T> for Substitute
impl<T> Operation<T> for Substitute
sourceimpl PartialEq<Substitute> for Substitute
impl PartialEq<Substitute> for Substitute
sourcefn eq(&self, other: &Substitute) -> bool
fn eq(&self, other: &Substitute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for Substitute
impl StructuralEq for Substitute
impl StructuralPartialEq for Substitute
Auto Trait Implementations
impl RefUnwindSafe for Substitute
impl Send for Substitute
impl Sync for Substitute
impl Unpin for Substitute
impl UnwindSafe for Substitute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more