pub enum SurfaceType {
Window,
Pixmap,
Pbuffer,
}
Expand description
The underlying type of the surface.
Variants§
Trait Implementations§
Source§impl Clone for SurfaceType
impl Clone for SurfaceType
Source§fn clone(&self) -> SurfaceType
fn clone(&self) -> SurfaceType
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 SurfaceType
impl Debug for SurfaceType
impl Copy for SurfaceType
Auto Trait Implementations§
impl Freeze for SurfaceType
impl RefUnwindSafe for SurfaceType
impl Send for SurfaceType
impl Sync for SurfaceType
impl Unpin for SurfaceType
impl UnwindSafe for SurfaceType
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