API reference

bindings.rs · Rust API · 3/3

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

sdk/rust/kui-sys/src/bindings.rs
kui::sys::kui_status_message
Declared3.61.7Rust

Rust low-level FFI function kui_status_message. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_status_message(s: KuiStatus) -> *const core::ffi::c_char

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:246

Report an issue with this entry →
kui::sys::kui_window_add_event_listener
Declared3.61.7Rust

Rust low-level FFI function kui_window_add_event_listener. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_add_event_listener(window: *mut KuiWindow, event_name: *const core::ffi::c_char, len: usize, fn_: KuiWindowEventFn, user_data: *mut core::ffi::c_void, once: core::ffi::c_int, out_id: *mut KuiListenerId) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:380

Report an issue with this entry →
kui::sys::kui_window_clear_frame_radius
Declared3.61.7Rust

Rust low-level FFI function kui_window_clear_frame_radius. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_clear_frame_radius(window: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:378

Report an issue with this entry →
kui::sys::kui_window_close
Declared3.61.7Rust

Rust low-level FFI function kui_window_close. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_close(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:279

Report an issue with this entry →
kui::sys::kui_window_create
Declared3.61.7Rust

Rust low-level FFI function kui_window_create. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_create(props: *const KuiWindowProps, out: *mut *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:259

Report an issue with this entry →
kui::sys::kui_window_get_device_pixel_ratio
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_device_pixel_ratio. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_device_pixel_ratio(w: *mut KuiWindow, out_ratio: *mut f32) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:276

Report an issue with this entry →
kui::sys::kui_window_get_devtools_port
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_devtools_port. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_devtools_port(window: *mut KuiWindow, out_port: *mut u16) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:379

Report an issue with this entry →
kui::sys::kui_window_get_devtools_url
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_devtools_url. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_devtools_url(w: *mut KuiWindow, buf: *mut core::ffi::c_char, buf_capacity: usize, out_len: *mut usize) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:283

Report an issue with this entry →
kui::sys::kui_window_get_document
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_document. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_document(w: *mut KuiWindow, out: *mut *mut KuiDocument) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:264

Report an issue with this entry →
kui::sys::kui_window_get_native_handle
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_native_handle. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_native_handle(w: *mut KuiWindow, out_handle: *mut *mut core::ffi::c_void) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:284

Report an issue with this entry →
kui::sys::kui_window_get_position
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_position. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_position(w: *mut KuiWindow, out_x: *mut core::ffi::c_int, out_y: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:269

Report an issue with this entry →
kui::sys::kui_window_get_size
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_size. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_size(w: *mut KuiWindow, out_width: *mut core::ffi::c_int, out_height: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:267

Report an issue with this entry →
kui::sys::kui_window_get_title
Declared3.61.7Rust

Rust low-level FFI function kui_window_get_title. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_get_title(w: *mut KuiWindow, buf: *mut core::ffi::c_char, buf_capacity: usize, out_len: *mut usize) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:265

Report an issue with this entry →
kui::sys::kui_window_hide
Declared3.61.7Rust

Rust low-level FFI function kui_window_hide. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_hide(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:262

Report an issue with this entry →
kui::sys::kui_window_is_maximized
Declared3.61.7Rust

Rust low-level FFI function kui_window_is_maximized. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_is_maximized(w: *mut KuiWindow, out_maximized: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:278

Report an issue with this entry →
kui::sys::kui_window_is_minimized
Declared3.61.7Rust

Rust low-level FFI function kui_window_is_minimized. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_is_minimized(w: *mut KuiWindow, out_minimized: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:277

Report an issue with this entry →
kui::sys::kui_window_is_visible
Declared3.61.7Rust

Rust low-level FFI function kui_window_is_visible. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_is_visible(w: *mut KuiWindow, out_visible: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:263

Report an issue with this entry →
kui::sys::kui_window_maximize
Declared3.61.7Rust

Rust low-level FFI function kui_window_maximize. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_maximize(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:272

Report an issue with this entry →
kui::sys::kui_window_minimize
Declared3.61.7Rust

Rust low-level FFI function kui_window_minimize. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_minimize(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:271

Report an issue with this entry →
kui::sys::kui_window_on_resize
Declared3.61.7Rust

Rust low-level FFI function kui_window_on_resize. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_on_resize(w: *mut KuiWindow, fn_: KuiWindowResizeFn, user_data: *mut core::ffi::c_void) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:281

Report an issue with this entry →
kui::sys::kui_window_release
Declared3.61.7Rust

Rust low-level FFI function kui_window_release. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_release(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:260

Report an issue with this entry →
kui::sys::kui_window_remove_event_listener
Declared3.61.7Rust

Rust low-level FFI function kui_window_remove_event_listener. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_remove_event_listener(window: *mut KuiWindow, event_name: *const core::ffi::c_char, len: usize, id: KuiListenerId) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:381

Report an issue with this entry →
kui::sys::kui_window_remove_event_listeners
Declared3.61.7Rust

Rust low-level FFI function kui_window_remove_event_listeners. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_remove_event_listeners(window: *mut KuiWindow, event_name: *const core::ffi::c_char, len: usize) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:382

Report an issue with this entry →
kui::sys::kui_window_resize
Declared3.61.7Rust

Rust low-level FFI function kui_window_resize. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_resize(w: *mut KuiWindow, width: core::ffi::c_int, height: core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:268

Report an issue with this entry →
kui::sys::kui_window_restore
Declared3.61.7Rust

Rust low-level FFI function kui_window_restore. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_restore(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:273

Report an issue with this entry →
kui::sys::kui_window_set_always_on_top
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_always_on_top. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_always_on_top(w: *mut KuiWindow, on_top: core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:274

Report an issue with this entry →
kui::sys::kui_window_set_frame_radius
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_frame_radius. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_frame_radius(window: *mut KuiWindow, radius: f32) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:377

Report an issue with this entry →
kui::sys::kui_window_set_frameless_sizeable
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_frameless_sizeable. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_frameless_sizeable(window: *mut KuiWindow, enabled: core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:376

Report an issue with this entry →
kui::sys::kui_window_set_opacity
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_opacity. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_opacity(w: *mut KuiWindow, opacity: f32) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:275

Report an issue with this entry →
kui::sys::kui_window_set_position
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_position. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_position(w: *mut KuiWindow, x: core::ffi::c_int, y: core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:270

Report an issue with this entry →
kui::sys::kui_window_set_script_engine
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_script_engine. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_script_engine(window: *mut KuiWindow, engine: *mut KuiScriptEngine) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:414

Report an issue with this entry →
kui::sys::kui_window_set_title
Declared3.61.7Rust

Rust low-level FFI function kui_window_set_title. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_set_title(w: *mut KuiWindow, title: *const core::ffi::c_char, len: usize) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:266

Report an issue with this entry →
kui::sys::kui_window_should_close
Declared3.61.7Rust

Rust low-level FFI function kui_window_should_close. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_should_close(w: *mut KuiWindow, out_should_close: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:280

Report an issue with this entry →
kui::sys::kui_window_show
Declared3.61.7Rust

Rust low-level FFI function kui_window_show. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_show(w: *mut KuiWindow) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:261

Report an issue with this entry →
kui::sys::kui_window_start_devtools
Declared3.61.7Rust

Rust low-level FFI function kui_window_start_devtools. Unsafe callers must uphold the C ABI pointer, length, ownership and UI-thread contracts.

bindings.rs
pub fn kui_window_start_devtools(w: *mut KuiWindow, port: u16, out_started: *mut core::ffi::c_int) -> KuiStatus

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/rust/kui-sys/src/bindings.rs:282

Report an issue with this entry →
Browse this reference type →