[]Struct gstreamer_gl::GLDisplayEGL

pub struct GLDisplayEGL(_, _);

the contents of a GLDisplayEGL are private and should only be accessed through the provided API

Implements

GLDisplayExt, gst::ObjectExt, glib::object::ObjectExt

Methods

impl GLDisplayEGL[src]

pub fn new() -> GLDisplayEGL[src]

Create a new GLDisplayEGL using the default EGL_DEFAULT_DISPLAY.

Returns

a new GLDisplayEGL or None

impl GLDisplayEGL[src]

pub unsafe fn new_with_egl_display(
    display: uintptr_t
) -> Result<GLDisplayEGL, BoolError>
[src]

pub unsafe fn get_from_native(
    display_type: GLDisplayType,
    display: uintptr_t
) -> gpointer
[src]

Attempts to create a new EGLDisplay from display. If type_ is GLDisplayType::Any, then display must be 0. type_ must not be GLDisplayType::None.

type_

a GLDisplayType

display

pointer to a display (or 0)

Returns

A EGLDisplay or EGL_NO_DISPLAY

Trait Implementations

impl Clone for GLDisplayEGL

impl Debug for GLDisplayEGL

impl Default for GLDisplayEGL[src]

impl Eq for GLDisplayEGL

impl Hash for GLDisplayEGL

impl IsA<GLDisplay> for GLDisplayEGL

impl IsA<Object> for GLDisplayEGL

impl Ord for GLDisplayEGL

impl<T: ObjectType> PartialEq<T> for GLDisplayEGL

impl<T: ObjectType> PartialOrd<T> for GLDisplayEGL

impl Send for GLDisplayEGL[src]

impl StaticType for GLDisplayEGL

impl Sync for GLDisplayEGL[src]

Auto Trait Implementations

impl RefUnwindSafe for GLDisplayEGL

impl Unpin for GLDisplayEGL

impl UnwindSafe for GLDisplayEGL

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExt for O where
    O: IsA<Object>, 
[src]

impl<O> GstObjectExtManual for O where
    O: IsA<Object>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.