Struct wayland_sys::egl::WaylandEgl

source ·
pub struct WaylandEgl {
    pub wl_egl_window_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: c_int, _: c_int) -> *mut wl_egl_window>,
    pub wl_egl_window_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_egl_window)>,
    pub wl_egl_window_resize: Symbol<'static, unsafe extern "C" fn(_: *mut wl_egl_window, _: c_int, _: c_int, _: c_int, _: c_int)>,
    pub wl_egl_window_get_attached_size: Symbol<'static, unsafe extern "C" fn(_: *mut wl_egl_window, _: *mut c_int, _: *mut c_int)>,
    /* private fields */
}

Fields§

§wl_egl_window_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: c_int, _: c_int) -> *mut wl_egl_window>§wl_egl_window_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_egl_window)>§wl_egl_window_resize: Symbol<'static, unsafe extern "C" fn(_: *mut wl_egl_window, _: c_int, _: c_int, _: c_int, _: c_int)>§wl_egl_window_get_attached_size: Symbol<'static, unsafe extern "C" fn(_: *mut wl_egl_window, _: *mut c_int, _: *mut c_int)>

Implementations§

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.