pub struct EnableBuilder { /* private fields */ }Expand description
Builder for Enable.
Implementations§
Source§impl EnableBuilder
impl EnableBuilder
Sourcepub fn state<VALUE: Into<CentralState>>(&mut self, value: VALUE) -> &mut Self
pub fn state<VALUE: Into<CentralState>>(&mut self, value: VALUE) -> &mut Self
State of the simulated central.
Sourcepub fn le_supported<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn le_supported<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If the simulated central supports low-energy.
Trait Implementations§
Source§impl Clone for EnableBuilder
impl Clone for EnableBuilder
Source§fn clone(&self) -> EnableBuilder
fn clone(&self) -> EnableBuilder
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 EnableBuilder
impl RefUnwindSafe for EnableBuilder
impl Send for EnableBuilder
impl Sync for EnableBuilder
impl Unpin for EnableBuilder
impl UnsafeUnpin for EnableBuilder
impl UnwindSafe for EnableBuilder
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