pub struct DeviceInfoBuilder { /* private fields */ }Expand description
Builder for constructing DeviceInfo.
Implementations§
Source§impl DeviceInfoBuilder
impl DeviceInfoBuilder
Sourcepub fn manufacturer(self, manufacturer: impl Into<String>) -> Self
pub fn manufacturer(self, manufacturer: impl Into<String>) -> Self
Set the manufacturer name.
Sourcepub fn build(self) -> DeviceInfo
pub fn build(self) -> DeviceInfo
Build the DeviceInfo.
Trait Implementations§
Source§impl Clone for DeviceInfoBuilder
impl Clone for DeviceInfoBuilder
Source§impl Debug for DeviceInfoBuilder
impl Debug for DeviceInfoBuilder
Auto Trait Implementations§
impl Freeze for DeviceInfoBuilder
impl RefUnwindSafe for DeviceInfoBuilder
impl Send for DeviceInfoBuilder
impl Sync for DeviceInfoBuilder
impl Unpin for DeviceInfoBuilder
impl UnsafeUnpin for DeviceInfoBuilder
impl UnwindSafe for DeviceInfoBuilder
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