[][src]Struct wayland_client::sys::client::WaylandClient

pub struct WaylandClient {
    pub wl_display_connect_to_fd: Symbol<'static, unsafe extern "C" fn(i32) -> *mut wl_display>,
    pub wl_display_connect: Symbol<'static, unsafe extern "C" fn(*const i8) -> *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) -> i32>,
    pub wl_display_roundtrip: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>,
    pub wl_display_read_events: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>,
    pub wl_display_prepare_read: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>,
    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) -> i32>,
    pub wl_display_dispatch_pending: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>,
    pub wl_display_get_error: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>,
    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) -> i32>,
    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) -> i32>,
    pub wl_display_prepare_read_queue: Symbol<'static, unsafe extern "C" fn(*mut wl_display, *mut wl_event_queue) -> i32>,
    pub wl_display_dispatch_queue: Symbol<'static, unsafe extern "C" fn(*mut wl_display, *mut wl_event_queue) -> i32>,
    pub wl_display_dispatch_queue_pending: Symbol<'static, unsafe extern "C" fn(*mut wl_display, *mut wl_event_queue) -> i32>,
    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) -> i32>,
    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, unsafe extern "C" fn(*const c_void, *mut c_void, u32, *const wl_message, *const wl_argument) -> i32, *const c_void, *mut c_void) -> i32>,
    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 i8>,
    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(unsafe extern "C" fn(*const i8, ...))>,
    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) -> i32>,
    pub wl_list_empty: Symbol<'static, unsafe extern "C" fn(*const wl_list) -> i32>,
    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(i32) -> *mut wl_display>wl_display_connect: Symbol<'static, unsafe extern "C" fn(*const i8) -> *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) -> i32>wl_display_roundtrip: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>wl_display_read_events: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>wl_display_prepare_read: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>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) -> i32>wl_display_dispatch_pending: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>wl_display_get_error: Symbol<'static, unsafe extern "C" fn(*mut wl_display) -> i32>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) -> i32>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) -> i32>wl_display_prepare_read_queue: Symbol<'static, unsafe extern "C" fn(*mut wl_display, *mut wl_event_queue) -> i32>wl_display_dispatch_queue: Symbol<'static, unsafe extern "C" fn(*mut wl_display, *mut wl_event_queue) -> i32>wl_display_dispatch_queue_pending: Symbol<'static, unsafe extern "C" fn(*mut wl_display, *mut wl_event_queue) -> i32>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) -> i32>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, unsafe extern "C" fn(*const c_void, *mut c_void, u32, *const wl_message, *const wl_argument) -> i32, *const c_void, *mut c_void) -> i32>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 i8>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(unsafe extern "C" fn(*const i8, ...))>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) -> i32>wl_list_empty: Symbol<'static, unsafe extern "C" fn(*const wl_list) -> i32>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, ...)>

Implementations

impl WaylandClient[src]

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

Trait Implementations

impl Sync for WaylandClient[src]

Auto Trait Implementations

impl RefUnwindSafe for WaylandClient

impl Send for WaylandClient

impl Unpin for WaylandClient

impl UnwindSafe for WaylandClient

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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 = 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.