pub struct BlockIoDeviceWeightBuilder { /* private fields */ }
Expand description
Builder for BlockIoDeviceWeight
.
Implementations§
Source§impl BlockIoDeviceWeightBuilder
impl BlockIoDeviceWeightBuilder
pub fn major<VALUE: Into<i64>>(&mut self, value: VALUE) -> &mut Self
pub fn minor<VALUE: Into<i64>>(&mut self, value: VALUE) -> &mut Self
pub fn leaf_weight<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn weight<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for BlockIoDeviceWeightBuilder
impl Clone for BlockIoDeviceWeightBuilder
Source§fn clone(&self) -> BlockIoDeviceWeightBuilder
fn clone(&self) -> BlockIoDeviceWeightBuilder
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 Default for BlockIoDeviceWeightBuilder
impl Default for BlockIoDeviceWeightBuilder
Source§fn default() -> BlockIoDeviceWeightBuilder
fn default() -> BlockIoDeviceWeightBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockIoDeviceWeightBuilder
impl RefUnwindSafe for BlockIoDeviceWeightBuilder
impl Send for BlockIoDeviceWeightBuilder
impl Sync for BlockIoDeviceWeightBuilder
impl Unpin for BlockIoDeviceWeightBuilder
impl UnwindSafe for BlockIoDeviceWeightBuilder
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