Enum media::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<NativeDisplay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeDisplay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for NativeDisplay
impl Serialize for NativeDisplay
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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