pub struct Sym(pub Cow<'static, str>);Expand description
Symbol represents a variable of a polynomial
Tuple Fields§
§0: Cow<'static, str>Trait Implementations§
source§impl Ord for Sym
impl Ord for Sym
source§impl PartialOrd<Sym> for Sym
impl PartialOrd<Sym> for Sym
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 Sym
impl StructuralEq for Sym
impl StructuralPartialEq for Sym
Auto Trait Implementations§
impl RefUnwindSafe for Sym
impl Send for Sym
impl Sync for Sym
impl Unpin for Sym
impl UnwindSafe for Sym
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