pub struct DeviceAttributeFlags {
pub attributes: Vec<DeviceAttribute>,
}
Fields
attributes: Vec<DeviceAttribute>
Implementations
sourceimpl DeviceAttributeFlags
impl DeviceAttributeFlags
pub fn new(attributes: Vec<DeviceAttribute>) -> Self
Trait Implementations
sourceimpl Clone for DeviceAttributeFlags
impl Clone for DeviceAttributeFlags
sourcefn clone(&self) -> DeviceAttributeFlags
fn clone(&self) -> DeviceAttributeFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceAttributeFlags
impl Debug for DeviceAttributeFlags
sourceimpl PartialEq<DeviceAttributeFlags> for DeviceAttributeFlags
impl PartialEq<DeviceAttributeFlags> for DeviceAttributeFlags
sourcefn eq(&self, other: &DeviceAttributeFlags) -> bool
fn eq(&self, other: &DeviceAttributeFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeviceAttributeFlags) -> bool
fn ne(&self, other: &DeviceAttributeFlags) -> bool
This method tests for !=
.
impl Eq for DeviceAttributeFlags
impl StructuralEq for DeviceAttributeFlags
impl StructuralPartialEq for DeviceAttributeFlags
Auto Trait Implementations
impl RefUnwindSafe for DeviceAttributeFlags
impl Send for DeviceAttributeFlags
impl Sync for DeviceAttributeFlags
impl Unpin for DeviceAttributeFlags
impl UnwindSafe for DeviceAttributeFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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