Enum servo_media_player::context::GlContext
source · pub enum GlContext {
Egl(usize),
Glx(usize),
Unknown,
}
Variants§
Egl(usize)
The EGL platform used primarily with the X11, Wayland and Android window systems as well as on embedded Linux.
Glx(usize)
The GLX platform used primarily with the X11 window system.
Unknown
Trait Implementations§
source§impl<'de> Deserialize<'de> for GlContext
impl<'de> Deserialize<'de> for GlContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GlContext
impl RefUnwindSafe for GlContext
impl Send for GlContext
impl Sync for GlContext
impl Unpin for GlContext
impl UnwindSafe for GlContext
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