pub enum NumberOfSamples {
Max,
Specific(u8),
}
Expand description
Preference for picking glutin::config::GlConfig::num_samples
.
Variants§
Max
Pick a config with the highest number of samples.
Specific(u8)
Pick a config with a specific number of samples.
E.g. Specific(0)
mean no multisamples.
Trait Implementations§
source§impl Clone for NumberOfSamples
impl Clone for NumberOfSamples
source§fn clone(&self) -> NumberOfSamples
fn clone(&self) -> NumberOfSamples
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 NumberOfSamples
impl Debug for NumberOfSamples
source§impl Default for NumberOfSamples
impl Default for NumberOfSamples
source§impl From<u8> for NumberOfSamples
impl From<u8> for NumberOfSamples
impl Copy for NumberOfSamples
Auto Trait Implementations§
impl Freeze for NumberOfSamples
impl RefUnwindSafe for NumberOfSamples
impl Send for NumberOfSamples
impl Sync for NumberOfSamples
impl Unpin for NumberOfSamples
impl UnwindSafe for NumberOfSamples
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