pub enum SetRelation {
In,
NotIn,
Subset,
SubsetEq,
Superset,
SupersetEq,
}Expand description
Set membership and subset relations.
Represents relations between elements and sets, or between sets.
§Examples
use mathlex::ast::SetRelation;
let member = SetRelation::In; // x ∈ S
let subset = SetRelation::SubsetEq; // A ⊆ BVariants§
In
Element membership: x ∈ S
NotIn
Non-membership: x ∉ S
Subset
Proper subset: A ⊂ B
SubsetEq
Subset or equal: A ⊆ B
Superset
Proper superset: A ⊃ B
SupersetEq
Superset or equal: A ⊇ B
Trait Implementations§
Source§impl Clone for SetRelation
impl Clone for SetRelation
Source§fn clone(&self) -> SetRelation
fn clone(&self) -> SetRelation
Returns a duplicate 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 Debug for SetRelation
impl Debug for SetRelation
Source§impl Hash for SetRelation
impl Hash for SetRelation
Source§impl PartialEq for SetRelation
impl PartialEq for SetRelation
impl Copy for SetRelation
impl Eq for SetRelation
impl StructuralPartialEq for SetRelation
Auto Trait Implementations§
impl Freeze for SetRelation
impl RefUnwindSafe for SetRelation
impl Send for SetRelation
impl Sync for SetRelation
impl Unpin for SetRelation
impl UnsafeUnpin for SetRelation
impl UnwindSafe for SetRelation
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