pub struct DeviceSpecification {
pub properties: Vec<Property>,
}Fields§
§properties: Vec<Property>Implementations§
Source§impl DeviceSpecification
impl DeviceSpecification
pub fn new() -> Self
pub fn add_property( &mut self, key: &str, value: &str, ) -> Result<(), BindParserError>
Trait Implementations§
Source§impl Clone for DeviceSpecification
impl Clone for DeviceSpecification
Source§fn clone(&self) -> DeviceSpecification
fn clone(&self) -> DeviceSpecification
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 moreSource§impl Debug for DeviceSpecification
impl Debug for DeviceSpecification
Source§impl FromStr for DeviceSpecification
impl FromStr for DeviceSpecification
Source§impl PartialEq for DeviceSpecification
impl PartialEq for DeviceSpecification
impl StructuralPartialEq for DeviceSpecification
Auto Trait Implementations§
impl Freeze for DeviceSpecification
impl RefUnwindSafe for DeviceSpecification
impl Send for DeviceSpecification
impl Sync for DeviceSpecification
impl Unpin for DeviceSpecification
impl UnwindSafe for DeviceSpecification
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