pub struct MultisampleKey {
pub count: u32,
pub mask: u64,
pub alpha_to_coverage_enabled: bool,
}Expand description
Hashable mirror of wgpu::MultisampleState.
Fields§
§count: u32§mask: u64§alpha_to_coverage_enabled: boolTrait Implementations§
Source§impl Clone for MultisampleKey
impl Clone for MultisampleKey
Source§fn clone(&self) -> MultisampleKey
fn clone(&self) -> MultisampleKey
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 MultisampleKey
impl Debug for MultisampleKey
Source§impl From<MultisampleState> for MultisampleKey
impl From<MultisampleState> for MultisampleKey
Source§fn from(m: MultisampleState) -> Self
fn from(m: MultisampleState) -> Self
Converts to this type from the input type.
Source§impl Hash for MultisampleKey
impl Hash for MultisampleKey
Source§impl PartialEq for MultisampleKey
impl PartialEq for MultisampleKey
impl Copy for MultisampleKey
impl Eq for MultisampleKey
impl StructuralPartialEq for MultisampleKey
Auto Trait Implementations§
impl Freeze for MultisampleKey
impl RefUnwindSafe for MultisampleKey
impl Send for MultisampleKey
impl Sync for MultisampleKey
impl Unpin for MultisampleKey
impl UnsafeUnpin for MultisampleKey
impl UnwindSafe for MultisampleKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.