pub struct Builder { /* private fields */ }Expand description
A builder for Radios.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn wifi(self, input: bool) -> Self
pub fn wifi(self, input: bool) -> Self
True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.
sourcepub fn set_wifi(self, input: Option<bool>) -> Self
pub fn set_wifi(self, input: Option<bool>) -> Self
True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.
sourcepub fn bluetooth(self, input: bool) -> Self
pub fn bluetooth(self, input: bool) -> Self
True if Bluetooth is enabled at the beginning of the test. Otherwise, false.
sourcepub fn set_bluetooth(self, input: Option<bool>) -> Self
pub fn set_bluetooth(self, input: Option<bool>) -> Self
True if Bluetooth is enabled at the beginning of the test. Otherwise, false.
sourcepub fn nfc(self, input: bool) -> Self
pub fn nfc(self, input: bool) -> Self
True if NFC is enabled at the beginning of the test. Otherwise, false.
sourcepub fn set_nfc(self, input: Option<bool>) -> Self
pub fn set_nfc(self, input: Option<bool>) -> Self
True if NFC is enabled at the beginning of the test. Otherwise, false.
sourcepub fn gps(self, input: bool) -> Self
pub fn gps(self, input: bool) -> Self
True if GPS is enabled at the beginning of the test. Otherwise, false.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more