pub enum WellKnownTrait {
SizedTrait,
CopyTrait,
CloneTrait,
DropTrait,
}
Expand description
A list of the traits that are “well known” to chalk, which means that the chalk-solve crate has special, hard-coded impls for them.
Variants§
Trait Implementations§
Source§impl Clone for WellKnownTrait
impl Clone for WellKnownTrait
Source§fn clone(&self) -> WellKnownTrait
fn clone(&self) -> WellKnownTrait
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 WellKnownTrait
impl Debug for WellKnownTrait
Source§impl Hash for WellKnownTrait
impl Hash for WellKnownTrait
Source§impl Ord for WellKnownTrait
impl Ord for WellKnownTrait
Source§fn cmp(&self, other: &WellKnownTrait) -> Ordering
fn cmp(&self, other: &WellKnownTrait) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WellKnownTrait
impl PartialEq for WellKnownTrait
Source§impl PartialOrd for WellKnownTrait
impl PartialOrd for WellKnownTrait
impl Copy for WellKnownTrait
impl Eq for WellKnownTrait
impl StructuralPartialEq for WellKnownTrait
Auto Trait Implementations§
impl Freeze for WellKnownTrait
impl RefUnwindSafe for WellKnownTrait
impl Send for WellKnownTrait
impl Sync for WellKnownTrait
impl Unpin for WellKnownTrait
impl UnwindSafe for WellKnownTrait
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