Struct wr::OpenedExercise
source · pub struct OpenedExercise {
pub definition: ExerciseDefinition,
pub solved: bool,
}Fields§
§definition: ExerciseDefinition§solved: boolTrait Implementations§
source§impl Clone for OpenedExercise
impl Clone for OpenedExercise
source§fn clone(&self) -> OpenedExercise
fn clone(&self) -> OpenedExercise
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 Ord for OpenedExercise
impl Ord for OpenedExercise
source§impl PartialEq<OpenedExercise> for ExerciseDefinition
impl PartialEq<OpenedExercise> for ExerciseDefinition
source§fn eq(&self, other: &OpenedExercise) -> bool
fn eq(&self, other: &OpenedExercise) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq for OpenedExercise
impl PartialEq for OpenedExercise
source§fn eq(&self, other: &OpenedExercise) -> bool
fn eq(&self, other: &OpenedExercise) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<OpenedExercise> for ExerciseDefinition
impl PartialOrd<OpenedExercise> for ExerciseDefinition
source§fn partial_cmp(&self, other: &OpenedExercise) -> Option<Ordering>
fn partial_cmp(&self, other: &OpenedExercise) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl PartialOrd for OpenedExercise
impl PartialOrd for OpenedExercise
1.0.0 · source§fn 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 moreimpl Eq for OpenedExercise
impl StructuralEq for OpenedExercise
impl StructuralPartialEq for OpenedExercise
Auto Trait Implementations§
impl RefUnwindSafe for OpenedExercise
impl Send for OpenedExercise
impl Sync for OpenedExercise
impl Unpin for OpenedExercise
impl UnwindSafe for OpenedExercise
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.