pub struct WorkFactor(/* private fields */);Available on crate feature
age only.Expand description
Safety wrapper for work factor representation.
Implementations§
Trait Implementations§
Source§impl Clone for WorkFactor
impl Clone for WorkFactor
Source§fn clone(&self) -> WorkFactor
fn clone(&self) -> WorkFactor
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 WorkFactor
impl Debug for WorkFactor
Source§impl From<WorkFactor> for u8
impl From<WorkFactor> for u8
Source§fn from(work_factor: WorkFactor) -> u8
fn from(work_factor: WorkFactor) -> u8
Converts to this type from the input type.
Source§impl PartialEq for WorkFactor
impl PartialEq for WorkFactor
Source§impl TryFrom<u8> for WorkFactor
impl TryFrom<u8> for WorkFactor
impl Copy for WorkFactor
impl Eq for WorkFactor
impl StructuralPartialEq for WorkFactor
Auto Trait Implementations§
impl Freeze for WorkFactor
impl RefUnwindSafe for WorkFactor
impl Send for WorkFactor
impl Sync for WorkFactor
impl Unpin for WorkFactor
impl UnwindSafe for WorkFactor
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