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§
source§impl WaylandEgl
impl WaylandEgl
pub unsafe fn open(name: &str) -> Result<WaylandEgl, DlError>
Trait Implementations§
impl Sync for WaylandEgl
Auto Trait Implementations§
impl RefUnwindSafe for WaylandEgl
impl Send for WaylandEgl
impl Unpin for WaylandEgl
impl UnwindSafe for WaylandEgl
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