pub struct DeviceDescription { /* private fields */ }Implementations§
Source§impl DeviceDescription
impl DeviceDescription
pub fn new( frontend_type: impl AsRef<str>, backend_type: impl AsRef<str>, ) -> Self
pub fn special_frontend_path(&mut self, path: impl AsRef<str>) -> &mut Self
pub fn add_frontend_item( &mut self, key: impl AsRef<str>, value: impl ToString, ) -> &mut Self
pub fn add_backend_item( &mut self, key: impl AsRef<str>, value: impl ToString, ) -> &mut Self
pub fn add_frontend_bool( &mut self, key: impl AsRef<str>, value: bool, ) -> &mut Self
pub fn add_backend_bool( &mut self, key: impl AsRef<str>, value: bool, ) -> &mut Self
pub fn done(self) -> Self
Auto Trait Implementations§
impl Freeze for DeviceDescription
impl RefUnwindSafe for DeviceDescription
impl Send for DeviceDescription
impl Sync for DeviceDescription
impl Unpin for DeviceDescription
impl UnsafeUnpin for DeviceDescription
impl UnwindSafe for DeviceDescription
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