Enum servo_media_player::context::NativeDisplay
source · pub enum NativeDisplay {
Egl(usize),
X11(usize),
Wayland(usize),
Headless,
Unknown,
}
Variants§
Egl(usize)
The EGLDisplay memory address
X11(usize)
XDisplay memory address
Wayland(usize)
wl_display memory address
Headless
Unknown
Trait Implementations§
source§impl Clone for NativeDisplay
impl Clone for NativeDisplay
source§fn clone(&self) -> NativeDisplay
fn clone(&self) -> NativeDisplay
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 NativeDisplay
impl Debug for NativeDisplay
source§impl<'de> Deserialize<'de> for NativeDisplay
impl<'de> Deserialize<'de> for NativeDisplay
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 NativeDisplay
impl RefUnwindSafe for NativeDisplay
impl Send for NativeDisplay
impl Sync for NativeDisplay
impl Unpin for NativeDisplay
impl UnwindSafe for NativeDisplay
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