pub struct DeviceFeatures {
pub sampler_anisotropy: bool,
pub fill_mode_non_solid: bool,
pub wide_lines: bool,
}Fields§
§sampler_anisotropy: bool§fill_mode_non_solid: bool§wide_lines: boolTrait Implementations§
Source§impl Clone for DeviceFeatures
impl Clone for DeviceFeatures
Source§fn clone(&self) -> DeviceFeatures
fn clone(&self) -> DeviceFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceFeatures
impl Debug for DeviceFeatures
Source§impl Default for DeviceFeatures
impl Default for DeviceFeatures
Source§fn default() -> DeviceFeatures
fn default() -> DeviceFeatures
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceFeatures
impl PartialEq for DeviceFeatures
Source§fn eq(&self, other: &DeviceFeatures) -> bool
fn eq(&self, other: &DeviceFeatures) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DeviceFeatures
impl Eq for DeviceFeatures
impl StructuralPartialEq for DeviceFeatures
Auto Trait Implementations§
impl Freeze for DeviceFeatures
impl RefUnwindSafe for DeviceFeatures
impl Send for DeviceFeatures
impl Sync for DeviceFeatures
impl Unpin for DeviceFeatures
impl UnsafeUnpin for DeviceFeatures
impl UnwindSafe for DeviceFeatures
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