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