Struct lc3_ensemble::sim::debug::Comparator
source · pub struct Comparator {
pub value: u16,
/* private fields */
}Expand description
Predicate checking whether the current value is equal to the value.
Fields§
§value: u16The value we’re checking against.
Implementations§
Trait Implementations§
source§impl PartialEq for Comparator
impl PartialEq for Comparator
source§fn eq(&self, other: &Comparator) -> bool
fn eq(&self, other: &Comparator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for Comparator
impl StructuralPartialEq for Comparator
Auto Trait Implementations§
impl Freeze for Comparator
impl RefUnwindSafe for Comparator
impl Send for Comparator
impl Sync for Comparator
impl Unpin for Comparator
impl UnwindSafe for Comparator
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