pub struct WeightConfig {
pub system: UnitSystem,
pub precision: usize,
pub show_for_files: bool,
pub show_for_dirs: bool,
pub dir_sum_included: bool,
}Fields§
§system: UnitSystem§precision: usize§show_for_files: bool§show_for_dirs: bool§dir_sum_included: boolTrait Implementations§
Source§impl Clone for WeightConfig
impl Clone for WeightConfig
Source§fn clone(&self) -> WeightConfig
fn clone(&self) -> WeightConfig
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 WeightConfig
impl Debug for WeightConfig
Auto Trait Implementations§
impl Freeze for WeightConfig
impl RefUnwindSafe for WeightConfig
impl Send for WeightConfig
impl Sync for WeightConfig
impl Unpin for WeightConfig
impl UnsafeUnpin for WeightConfig
impl UnwindSafe for WeightConfig
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