Enum glium::draw_parameters::SamplesQueryParam [] [src]

pub enum SamplesQueryParam<'a> {
    SamplesPassedQuery(&'a SamplesPassedQuery),
    AnySamplesPassedQuery(&'a AnySamplesPassedQuery),
}

The query to use for samples counting.

Variants

SamplesPassedQuery(&'a SamplesPassedQuery)

A SamplesPassedQuery.

AnySamplesPassedQuery(&'a AnySamplesPassedQuery)

A AnySamplesPassedQuery.

Trait Implementations

impl<'a> Clone for SamplesQueryParam<'a>
[src]

fn clone(&self) -> SamplesQueryParam<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a> Copy for SamplesQueryParam<'a>
[src]

impl<'a> Debug for SamplesQueryParam<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> From<&'a SamplesPassedQuery> for SamplesQueryParam<'a>
[src]

fn from(r: &'a SamplesPassedQuery) -> SamplesQueryParam<'a>

Performs the conversion.

impl<'a> From<&'a AnySamplesPassedQuery> for SamplesQueryParam<'a>
[src]

fn from(r: &'a AnySamplesPassedQuery) -> SamplesQueryParam<'a>

Performs the conversion.