[]Struct wayland_sys::server::WaylandServer

pub struct WaylandServer {
    pub wl_client_flush: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client)>,
    pub wl_client_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client)>,
    pub wl_client_get_display: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client) -> *mut wl_display>,
    pub wl_client_get_credentials: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: *mut pid_t, _: *mut uid_t, _: *mut gid_t)>,
    pub wl_client_get_object: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: u32) -> *mut wl_resource>,
    pub wl_client_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: *mut wl_listener)>,
    pub wl_client_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: wl_notify_func_t) -> *mut wl_listener>,
    pub wl_client_post_no_memory: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client)>,
    pub wl_resource_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: *const wl_interface, _: c_int, _: u32) -> *mut wl_resource>,
    pub wl_client_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: c_int) -> *mut wl_client>,
    pub wl_display_create: Symbol<'static, unsafe extern "C" fn() -> *mut wl_display>,
    pub wl_display_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_destroy_clients: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_get_serial: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> u32>,
    pub wl_display_next_serial: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> u32>,
    pub wl_display_add_socket: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *const c_char) -> c_int>,
    pub wl_display_add_socket_auto: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> *const c_char>,
    pub wl_display_add_socket_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: c_int) -> c_int>,
    pub wl_display_add_shm_format: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: u32) -> *mut u32>,
    pub wl_display_get_event_loop: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> *mut wl_event_loop>,
    pub wl_display_terminate: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_run: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_flush_clients: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>,
    pub wl_display_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_listener)>,
    pub wl_display_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: wl_notify_func_t) -> *mut wl_listener>,
    pub wl_global_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *const wl_interface, _: c_int, _: *mut c_void, _: wl_global_bind_func_t) -> *mut wl_global>,
    pub wl_display_init_shm: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>,
    pub wl_display_add_client_created_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_listener)>,
    pub wl_display_set_global_filter: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: wl_display_global_filter_func_t, _: *mut c_void)>,
    pub wl_event_loop_create: Symbol<'static, unsafe extern "C" fn() -> *mut wl_event_loop>,
    pub wl_event_loop_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop)>,
    pub wl_event_loop_add_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: c_int, _: u32, _: wl_event_loop_fd_func_t, _: *mut c_void) -> *mut wl_event_source>,
    pub wl_event_loop_add_timer: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: wl_event_loop_timer_func_t, _: *mut c_void) -> *mut wl_event_source>,
    pub wl_event_loop_add_signal: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: c_int, _: wl_event_loop_signal_func_t, _: *mut c_void) -> *mut wl_event_source>,
    pub wl_event_loop_dispatch: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: c_int) -> c_int>,
    pub wl_event_loop_dispatch_idle: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop)>,
    pub wl_event_loop_add_idle: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: wl_event_loop_idle_func_t, _: *mut c_void) -> *mut wl_event_source>,
    pub wl_event_loop_get_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop) -> c_int>,
    pub wl_event_loop_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: *mut wl_listener)>,
    pub wl_event_loop_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: wl_notify_func_t) -> *mut wl_listener>,
    pub wl_event_source_fd_update: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source, _: u32) -> c_int>,
    pub wl_event_source_timer_update: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source, _: c_int) -> c_int>,
    pub wl_event_source_remove: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source) -> c_int>,
    pub wl_event_source_check: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source)>,
    pub wl_global_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_global)>,
    pub wl_global_get_user_data: Symbol<'static, unsafe extern "C" fn(_: *const wl_global) -> *mut c_void>,
    pub wl_resource_post_event_array: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: *mut wl_argument)>,
    pub wl_resource_queue_event_array: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: *mut wl_argument)>,
    pub wl_resource_post_no_memory: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource)>,
    pub wl_resource_set_implementation: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: *const c_void, _: *mut c_void, _: Option<wl_resource_destroy_func_t>)>,
    pub wl_resource_set_dispatcher: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: wl_dispatcher_func_t, _: *const c_void, _: *mut c_void, _: Option<wl_resource_destroy_func_t>)>,
    pub wl_resource_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource)>,
    pub wl_resource_get_client: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut wl_client>,
    pub wl_resource_get_id: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> u32>,
    pub wl_resource_get_link: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut wl_list>,
    pub wl_resource_from_link: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list) -> *mut wl_resource>,
    pub wl_resource_find_for_client: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list, _: *mut wl_client)>,
    pub wl_resource_set_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: *mut c_void)>,
    pub wl_resource_get_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut c_void>,
    pub wl_resource_get_version: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> c_int>,
    pub wl_resource_set_destructor: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: Option<wl_resource_destroy_func_t>)>,
    pub wl_resource_instance_of: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: *const wl_interface, _: *const c_void) -> c_int>,
    pub wl_resource_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: wl_notify_func_t)>,
    pub wl_resource_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: wl_notify_func_t) -> *mut wl_listener>,
    pub wl_shm_buffer_begin_access: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer)>,
    pub wl_shm_buffer_end_access: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer)>,
    pub wl_shm_buffer_get: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut wl_shm_buffer>,
    pub wl_shm_buffer_get_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> *mut c_void>,
    pub wl_shm_buffer_get_stride: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> i32>,
    pub wl_shm_buffer_get_format: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> u32>,
    pub wl_shm_buffer_get_width: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> i32>,
    pub wl_shm_buffer_get_height: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> i32>,
    pub wl_log_set_handler_server: 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_resource_post_event: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: ...)>,
    pub wl_resource_queue_event: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: ...)>,
    pub wl_resource_post_error: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: *const c_char, _: ...)>,
    // some fields omitted
}

Fields

wl_client_flush: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client)>wl_client_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client)>wl_client_get_display: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client) -> *mut wl_display>wl_client_get_credentials: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: *mut pid_t, _: *mut uid_t, _: *mut gid_t)>wl_client_get_object: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: u32) -> *mut wl_resource>wl_client_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: *mut wl_listener)>wl_client_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: wl_notify_func_t) -> *mut wl_listener>wl_client_post_no_memory: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client)>wl_resource_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_client, _: *const wl_interface, _: c_int, _: u32) -> *mut wl_resource>wl_client_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: c_int) -> *mut wl_client>wl_display_create: Symbol<'static, unsafe extern "C" fn() -> *mut wl_display>wl_display_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_destroy_clients: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_get_serial: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> u32>wl_display_next_serial: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> u32>wl_display_add_socket: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *const c_char) -> c_int>wl_display_add_socket_auto: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> *const c_char>wl_display_add_socket_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: c_int) -> c_int>wl_display_add_shm_format: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: u32) -> *mut u32>wl_display_get_event_loop: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> *mut wl_event_loop>wl_display_terminate: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_run: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_flush_clients: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display)>wl_display_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_listener)>wl_display_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: wl_notify_func_t) -> *mut wl_listener>wl_global_create: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *const wl_interface, _: c_int, _: *mut c_void, _: wl_global_bind_func_t) -> *mut wl_global>wl_display_init_shm: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display) -> c_int>wl_display_add_client_created_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: *mut wl_listener)>wl_display_set_global_filter: Symbol<'static, unsafe extern "C" fn(_: *mut wl_display, _: wl_display_global_filter_func_t, _: *mut c_void)>wl_event_loop_create: Symbol<'static, unsafe extern "C" fn() -> *mut wl_event_loop>wl_event_loop_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop)>wl_event_loop_add_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: c_int, _: u32, _: wl_event_loop_fd_func_t, _: *mut c_void) -> *mut wl_event_source>wl_event_loop_add_timer: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: wl_event_loop_timer_func_t, _: *mut c_void) -> *mut wl_event_source>wl_event_loop_add_signal: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: c_int, _: wl_event_loop_signal_func_t, _: *mut c_void) -> *mut wl_event_source>wl_event_loop_dispatch: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: c_int) -> c_int>wl_event_loop_dispatch_idle: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop)>wl_event_loop_add_idle: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: wl_event_loop_idle_func_t, _: *mut c_void) -> *mut wl_event_source>wl_event_loop_get_fd: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop) -> c_int>wl_event_loop_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: *mut wl_listener)>wl_event_loop_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_loop, _: wl_notify_func_t) -> *mut wl_listener>wl_event_source_fd_update: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source, _: u32) -> c_int>wl_event_source_timer_update: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source, _: c_int) -> c_int>wl_event_source_remove: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source) -> c_int>wl_event_source_check: Symbol<'static, unsafe extern "C" fn(_: *mut wl_event_source)>wl_global_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_global)>wl_global_get_user_data: Symbol<'static, unsafe extern "C" fn(_: *const wl_global) -> *mut c_void>wl_resource_post_event_array: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: *mut wl_argument)>wl_resource_queue_event_array: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: *mut wl_argument)>wl_resource_post_no_memory: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource)>wl_resource_set_implementation: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: *const c_void, _: *mut c_void, _: Option<wl_resource_destroy_func_t>)>wl_resource_set_dispatcher: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: wl_dispatcher_func_t, _: *const c_void, _: *mut c_void, _: Option<wl_resource_destroy_func_t>)>wl_resource_destroy: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource)>wl_resource_get_client: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut wl_client>wl_resource_get_id: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> u32>wl_resource_get_link: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut wl_list>wl_resource_from_link: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list) -> *mut wl_resource>wl_resource_find_for_client: Symbol<'static, unsafe extern "C" fn(_: *mut wl_list, _: *mut wl_client)>wl_resource_set_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: *mut c_void)>wl_resource_get_user_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut c_void>wl_resource_get_version: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> c_int>wl_resource_set_destructor: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: Option<wl_resource_destroy_func_t>)>wl_resource_instance_of: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: *const wl_interface, _: *const c_void) -> c_int>wl_resource_add_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: wl_notify_func_t)>wl_resource_get_destroy_listener: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: wl_notify_func_t) -> *mut wl_listener>wl_shm_buffer_begin_access: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer)>wl_shm_buffer_end_access: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer)>wl_shm_buffer_get: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource) -> *mut wl_shm_buffer>wl_shm_buffer_get_data: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> *mut c_void>wl_shm_buffer_get_stride: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> i32>wl_shm_buffer_get_format: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> u32>wl_shm_buffer_get_width: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> i32>wl_shm_buffer_get_height: Symbol<'static, unsafe extern "C" fn(_: *mut wl_shm_buffer) -> i32>wl_log_set_handler_server: 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_resource_post_event: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: ...)>wl_resource_queue_event: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: ...)>wl_resource_post_error: Symbol<'static, unsafe extern "C" fn(_: *mut wl_resource, _: u32, _: *const c_char, _: ...)>

Methods

impl WaylandServer

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

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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