pub struct SimulatePressureNotificationBuilder { /* private fields */ }Expand description
Builder for SimulatePressureNotification.
Implementations§
Source§impl SimulatePressureNotificationBuilder
impl SimulatePressureNotificationBuilder
Sourcepub fn level<VALUE: Into<PressureLevel>>(&mut self, value: VALUE) -> &mut Self
pub fn level<VALUE: Into<PressureLevel>>(&mut self, value: VALUE) -> &mut Self
Memory pressure level of the notification.
Sourcepub fn build(
&self,
) -> Result<SimulatePressureNotification, SimulatePressureNotificationBuilderError>
pub fn build( &self, ) -> Result<SimulatePressureNotification, SimulatePressureNotificationBuilderError>
Trait Implementations§
Source§impl Clone for SimulatePressureNotificationBuilder
impl Clone for SimulatePressureNotificationBuilder
Source§fn clone(&self) -> SimulatePressureNotificationBuilder
fn clone(&self) -> SimulatePressureNotificationBuilder
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 moreAuto Trait Implementations§
impl Freeze for SimulatePressureNotificationBuilder
impl RefUnwindSafe for SimulatePressureNotificationBuilder
impl Send for SimulatePressureNotificationBuilder
impl Sync for SimulatePressureNotificationBuilder
impl Unpin for SimulatePressureNotificationBuilder
impl UnsafeUnpin for SimulatePressureNotificationBuilder
impl UnwindSafe for SimulatePressureNotificationBuilder
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