#[repr(u32)]pub enum SampleCount {
NoMultiSampling = 0,
MSAA2x = 1,
MSAA4x = 2,
MSAA8x = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for SampleCount
impl Clone for SampleCount
Source§fn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
Returns a copy 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 SampleCount
impl Debug for SampleCount
Source§impl Default for SampleCount
impl Default for SampleCount
Source§fn default() -> SampleCount
fn default() -> SampleCount
Returns the “default value” for a type. Read more
Source§impl Ord for SampleCount
impl Ord for SampleCount
Source§fn cmp(&self, other: &SampleCount) -> Ordering
fn cmp(&self, other: &SampleCount) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SampleCount
impl PartialEq for SampleCount
Source§impl PartialOrd for SampleCount
impl PartialOrd for SampleCount
impl Copy for SampleCount
impl Eq for SampleCount
impl StructuralPartialEq for SampleCount
Auto Trait Implementations§
impl Freeze for SampleCount
impl RefUnwindSafe for SampleCount
impl Send for SampleCount
impl Sync for SampleCount
impl Unpin for SampleCount
impl UnwindSafe for SampleCount
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