pub struct PurpleCpuBuilder { /* private fields */ }Expand description
Builder for PurpleCpu.
Implementations§
Source§impl PurpleCpuBuilder
impl PurpleCpuBuilder
pub fn cpus<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn mems<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn period<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn quota<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn realtime_period<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn realtime_runtime<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for PurpleCpuBuilder
impl Clone for PurpleCpuBuilder
Source§fn clone(&self) -> PurpleCpuBuilder
fn clone(&self) -> PurpleCpuBuilder
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 PurpleCpuBuilder
impl Default for PurpleCpuBuilder
Source§fn default() -> PurpleCpuBuilder
fn default() -> PurpleCpuBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PurpleCpuBuilder
impl RefUnwindSafe for PurpleCpuBuilder
impl Send for PurpleCpuBuilder
impl Sync for PurpleCpuBuilder
impl Unpin for PurpleCpuBuilder
impl UnwindSafe for PurpleCpuBuilder
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