[]Struct wayland_sys::client::WaylandClient

pub struct WaylandClient {
    pub wl_display_connect_to_fd: Symbol<'static, unsafe extern "C" fn(_: c_int) -> *mut wl_display>,
    pub wl_display_connect: Symbol<'static, unsafe extern "C" fn(_: *const c_char) -> *mut wl_display>,
    pub wl_display_disconnect: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_get_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_roundtrip: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_read_events: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_prepare_read: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_cancel_read: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_dispatch: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_dispatch_pending: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_get_error: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_get_protocol_error: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut *mut wl_interface, _: *mut u32) -> u32>,
    pub wl_display_flush: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_event_queue_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_queue)>,
    pub wl_display_create_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> *mut wl_event_queue>,
    pub wl_display_roundtrip_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>,
    pub wl_display_prepare_read_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>,
    pub wl_display_dispatch_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>,
    pub wl_display_dispatch_queue_pending: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>,
    pub wl_proxy_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *const wl_interface) -> *mut wl_proxy>,
    pub wl_proxy_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy)>,
    pub wl_proxy_add_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *mut extern "C" fn(), _: *mut c_void) -> c_int>,
    pub wl_proxy_get_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *const c_void>,
    pub wl_proxy_add_dispatcher: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: wl_dispatcher_func_t, _: *const c_void, _: *mut c_void) -> c_int>,
    pub wl_proxy_marshal_array_constructor: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *mut wl_argument, _: *const wl_interface) -> *mut wl_proxy>,
    pub wl_proxy_marshal_array_constructor_versioned: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *mut wl_argument, _: *const wl_interface, _: u32) -> *mut wl_proxy>,
    pub wl_proxy_marshal_array: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *mut wl_argument)>,
    pub wl_proxy_set_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *mut c_void)>,
    pub wl_proxy_get_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *mut c_void>,
    pub wl_proxy_get_id: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> u32>,
    pub wl_proxy_get_class: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *const c_char>,
    pub wl_proxy_set_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *mut wl_event_queue)>,
    pub wl_proxy_get_version: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> u32>,
    pub wl_proxy_create_wrapper: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *mut wl_proxy>,
    pub wl_proxy_wrapper_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy)>,
    pub wl_log_set_handler_client: Symbol<'static, unsafe extern "C" fn(_: wl_log_func_t)>,
    pub wl_list_init: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list)>,
    pub wl_list_insert: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list, _: *mut wl_list)>,
    pub wl_list_remove: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list)>,
    pub wl_list_length: Symbol<'static, unsafe extern "C" fn(_: *const wl_list) -> c_int>,
    pub wl_list_empty: Symbol<'static, unsafe extern "C" fn(_: *const wl_list) -> c_int>,
    pub wl_list_insert_list: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list, _: *mut wl_list)>,
    pub wl_array_init: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array)>,
    pub wl_array_release: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array)>,
    pub wl_array_add: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array, _: usize)>,
    pub wl_array_copy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array, _: *mut wl_array)>,
    pub wl_proxy_marshal_constructor: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *const wl_interface, ...) -> *mut wl_proxy>,
    pub wl_proxy_marshal_constructor_versioned: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *const wl_interface, _: u32, ...) -> *mut wl_proxy>,
    pub wl_proxy_marshal: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, ...)>,
    // some fields omitted
}

Fields

wl_display_connect_to_fd: Symbol<'static, unsafe extern "C" fn(_: c_int) -> *mut wl_display>wl_display_connect: Symbol<'static, unsafe extern "C" fn(_: *const c_char) -> *mut wl_display>wl_display_disconnect: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_get_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_roundtrip: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_read_events: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_prepare_read: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_cancel_read: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_dispatch: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_dispatch_pending: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_get_error: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_get_protocol_error: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut *mut wl_interface, _: *mut u32) -> u32>wl_display_flush: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_event_queue_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_queue)>wl_display_create_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> *mut wl_event_queue>wl_display_roundtrip_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>wl_display_prepare_read_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>wl_display_dispatch_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>wl_display_dispatch_queue_pending: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_event_queue) -> c_int>wl_proxy_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *const wl_interface) -> *mut wl_proxy>wl_proxy_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy)>wl_proxy_add_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *mut extern "C" fn(), _: *mut c_void) -> c_int>wl_proxy_get_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *const c_void>wl_proxy_add_dispatcher: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: wl_dispatcher_func_t, _: *const c_void, _: *mut c_void) -> c_int>wl_proxy_marshal_array_constructor: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *mut wl_argument, _: *const wl_interface) -> *mut wl_proxy>wl_proxy_marshal_array_constructor_versioned: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *mut wl_argument, _: *const wl_interface, _: u32) -> *mut wl_proxy>wl_proxy_marshal_array: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *mut wl_argument)>wl_proxy_set_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *mut c_void)>wl_proxy_get_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *mut c_void>wl_proxy_get_id: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> u32>wl_proxy_get_class: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *const c_char>wl_proxy_set_queue: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: *mut wl_event_queue)>wl_proxy_get_version: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> u32>wl_proxy_create_wrapper: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy) -> *mut wl_proxy>wl_proxy_wrapper_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy)>wl_log_set_handler_client: Symbol<'static, unsafe extern "C" fn(_: wl_log_func_t)>wl_list_init: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list)>wl_list_insert: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list, _: *mut wl_list)>wl_list_remove: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list)>wl_list_length: Symbol<'static, unsafe extern "C" fn(_: *const wl_list) -> c_int>wl_list_empty: Symbol<'static, unsafe extern "C" fn(_: *const wl_list) -> c_int>wl_list_insert_list: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list, _: *mut wl_list)>wl_array_init: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array)>wl_array_release: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array)>wl_array_add: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array, _: usize)>wl_array_copy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_array, _: *mut wl_array)>wl_proxy_marshal_constructor: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *const wl_interface, ...) -> *mut wl_proxy>wl_proxy_marshal_constructor_versioned: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, _: *const wl_interface, _: u32, ...) -> *mut wl_proxy>wl_proxy_marshal: Symbol<'static, unsafe extern "C" fn(_: *mut wl_proxy, _: u32, ...)>

Methods

impl WaylandClient

pub fn open(name: &str) -> Result<WaylandClient, DlError>

Trait Implementations

Auto Trait Implementations

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<T> From<T> for T[src]

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

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

type Error = !

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.