pub enum DistributionMode {
Move,
Copy,
Custom(Symbol),
}
Variants§
Trait Implementations§
source§impl Clone for DistributionMode
impl Clone for DistributionMode
source§fn clone(&self) -> DistributionMode
fn clone(&self) -> DistributionMode
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 Debug for DistributionMode
impl Debug for DistributionMode
source§impl Encode for DistributionMode
impl Encode for DistributionMode
source§impl PartialEq for DistributionMode
impl PartialEq for DistributionMode
source§fn eq(&self, other: &DistributionMode) -> bool
fn eq(&self, other: &DistributionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DistributionMode
impl StructuralPartialEq for DistributionMode
Auto Trait Implementations§
impl Freeze for DistributionMode
impl !RefUnwindSafe for DistributionMode
impl Send for DistributionMode
impl Sync for DistributionMode
impl Unpin for DistributionMode
impl !UnwindSafe for DistributionMode
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