Enum dgl::SurfaceRef
[−]
[src]
pub enum SurfaceRef<'a> { Window(&'a Window), }
Surface reference.
Variants
Window(&'a Window)
Trait Implementations
impl<'a> Clone for SurfaceRef<'a>
[src]
fn clone(&self) -> SurfaceRef<'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 SurfaceRef<'a>
[src]
impl<'a> Eq for SurfaceRef<'a>
[src]
impl<'a> PartialEq for SurfaceRef<'a>
[src]
fn eq(&self, __arg_0: &SurfaceRef<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SurfaceRef<'a>) -> bool
This method tests for !=
.
impl<'a> From<&'a Window> for SurfaceRef<'a>
[src]
fn from(window: &'a Window) -> SurfaceRef<'a>
Performs the conversion.