Enum dgl::SurfaceRef [] [src]

pub enum SurfaceRef<'a> {
    Window(&'a Window),
}

Surface reference.

Variants

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl<'a> Eq for SurfaceRef<'a>
[src]

impl<'a> PartialEq for SurfaceRef<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> From<&'a Window> for SurfaceRef<'a>
[src]

Performs the conversion.