pub enum CandidatePreferenceMode {
Default,
Marker,
}Expand description
Which trait candidates should be preferred over other candidates? By default, prefer where bounds over alias bounds. For marker traits, prefer alias bounds over where bounds.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CandidatePreferenceMode
impl Clone for CandidatePreferenceMode
Source§fn clone(&self) -> CandidatePreferenceMode
fn clone(&self) -> CandidatePreferenceMode
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 CandidatePreferenceMode
impl Debug for CandidatePreferenceMode
impl Copy for CandidatePreferenceMode
Auto Trait Implementations§
impl Freeze for CandidatePreferenceMode
impl RefUnwindSafe for CandidatePreferenceMode
impl Send for CandidatePreferenceMode
impl Sync for CandidatePreferenceMode
impl Unpin for CandidatePreferenceMode
impl UnwindSafe for CandidatePreferenceMode
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