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 more