API reference

bindings.rs · Rust types

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::KuiCCustomElementCallbacks
Declared3.61.7Rust

Public Rust SDK struct KuiCCustomElementCallbacks. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCCustomElementCallbacks {
    pub connected: KuiCustomElementLifecycleFn,
    pub disconnected: KuiCustomElementLifecycleFn,
    pub attribute_changed: KuiCustomElementAttributeFn,
    pub observed_attributes: *const *const core::ffi::c_char,
    pub observed_attribute_count: usize,
    pub user_data: *mut core::ffi::c_void,
}

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:219

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

Public Rust SDK struct KuiCExtensionPerfStats. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCExtensionPerfStats {
    pub last_tick_ms: f64,
    pub last_paint_ms: f64,
    pub max_tick_ms: f64,
    pub max_paint_ms: f64,
    pub tick_count: u64,
    pub paint_count: u64,
    pub total_tick_ms: f64,
    pub total_paint_ms: f64,
}

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:202

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

Public Rust SDK struct KuiCExtensionValue. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCExtensionValue {
    pub type_: KuiCExtensionValueType,
    pub int_value: i64,
    pub float_value: f64,
    pub string_value: *const core::ffi::c_char,
    pub string_len: usize,
    pub bool_value: core::ffi::c_int,
}

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:191

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

Public Rust SDK struct KuiCFileDialogOptions. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCFileDialogOptions {
    pub title: *const core::ffi::c_char,
    pub title_len: usize,
    pub default_path: *const core::ffi::c_char,
    pub default_path_len: usize,
    pub filters: *const *const core::ffi::c_char,
    pub filter_count: usize,
    pub allow_multiple: core::ffi::c_int,
}

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:147

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

Public Rust SDK struct KuiCMonitorInfo. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCMonitorInfo {
    pub bounds_x: f32,
    pub bounds_y: f32,
    pub bounds_width: f32,
    pub bounds_height: f32,
    pub work_x: f32,
    pub work_y: f32,
    pub work_width: f32,
    pub work_height: f32,
    pub scale: f32,
    pub is_primary: core::ffi::c_int,
}

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:54

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

Public Rust SDK struct KuiCPDFOptions. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCPDFOptions {
    pub title: *const core::ffi::c_char,
    pub author: *const core::ffi::c_char,
    pub subject: *const core::ffi::c_char,
    pub keywords: *const core::ffi::c_char,
    pub creator: *const core::ffi::c_char,
    pub creation_date: *const core::ffi::c_char,
    pub page_width_pt: f32,
    pub page_height_pt: f32,
    pub rasterize_fonts: core::ffi::c_int,
    pub generate_outline: core::ffi::c_int,
}

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:230

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

Public Rust SDK struct KuiCPositioningOptions. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiCPositioningOptions {
    pub flip: core::ffi::c_int,
    pub clamp_to_viewport: core::ffi::c_int,
    pub offset: f32,
    pub viewport_margin: f32,
}

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:171

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

Public Rust SDK struct KuiDocument. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiDocument {
    _private: [u8; 0],
}

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:32

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

Public Rust SDK struct KuiElement. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiElement {
    _private: [u8; 0],
}

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:38

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

Public Rust SDK struct KuiEvent. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiEvent {
    _private: [u8; 0],
}

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:44

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

Public Rust SDK struct KuiExtensionResult. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiExtensionResult {
    _private: [u8; 0],
}

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:141

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

Public Rust SDK struct KuiHttpClient. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiHttpClient {
    _private: [u8; 0],
}

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:129

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

Public Rust SDK struct KuiHttpResponse. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiHttpResponse {
    _private: [u8; 0],
}

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:135

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

Public Rust SDK struct KuiRect. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiRect {
    pub x: f32,
    pub y: f32,
    pub width: f32,
    pub height: f32,
}

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:93

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

Public Rust SDK struct KuiScriptEngine. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiScriptEngine {
    _private: [u8; 0],
}

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:123

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

Public Rust SDK struct KuiVersion. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiVersion {
    pub major: core::ffi::c_int,
    pub minor: core::ffi::c_int,
    pub patch: core::ffi::c_int,
}

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:6

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

Public Rust SDK struct KuiWindow. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiWindow {
    _private: [u8; 0],
}

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:26

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

Public Rust SDK struct KuiWindowProps. Check its type contract for ownership and UI-thread restrictions.

bindings.rs
pub struct KuiWindowProps {
    pub title: *const core::ffi::c_char,
    pub title_len: usize,
    pub width: core::ffi::c_int,
    pub height: core::ffi::c_int,
    pub min_width: core::ffi::c_int,
    pub min_height: core::ffi::c_int,
    pub max_width: core::ffi::c_int,
    pub max_height: core::ffi::c_int,
    pub no_resize: core::ffi::c_int,
    pub no_decorations: core::ffi::c_int,
    pub transparent: core::ffi::c_int,
    pub always_on_top: core::ffi::c_int,
    pub maximized: core::ffi::c_int,
    pub centered: core::ffi::c_int,
    pub frameless: core::ffi::c_int,
    pub frameless_shadow: core::ffi::c_int,
    pub opacity: f32,
}

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:69

Report an issue with this entry →
KuiCEventTypeTag
Declared3.61.7Rust

Public Rust SDK type KuiCEventTypeTag; see the declaration for its exact definition.

bindings.rs
pub type KuiCEventTypeTag = core::ffi::c_int;

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:159

Report an issue with this entry →
KuiCExtensionValueType
Declared3.61.7Rust

Public Rust SDK type KuiCExtensionValueType; see the declaration for its exact definition.

bindings.rs
pub type KuiCExtensionValueType = core::ffi::c_int;

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:182

Report an issue with this entry →
KuiCKeyEventType
Declared3.61.7Rust

Public Rust SDK type KuiCKeyEventType; see the declaration for its exact definition.

bindings.rs
pub type KuiCKeyEventType = core::ffi::c_int;

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:116

Report an issue with this entry →
KuiCMouseButton
Declared3.61.7Rust

Public Rust SDK type KuiCMouseButton; see the declaration for its exact definition.

bindings.rs
pub type KuiCMouseButton = core::ffi::c_int;

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:110

Report an issue with this entry →
KuiCMouseEventType
Declared3.61.7Rust

Public Rust SDK type KuiCMouseEventType; see the declaration for its exact definition.

bindings.rs
pub type KuiCMouseEventType = core::ffi::c_int;

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:104

Report an issue with this entry →
KuiCustomElementAttributeFn
Declared3.61.7Rust

Public Rust SDK type KuiCustomElementAttributeFn; see the declaration for its exact definition.

bindings.rs
pub type KuiCustomElementAttributeFn = Option<unsafe extern "C" fn(*mut KuiElement, *const core::ffi::c_char, usize, *const core::ffi::c_char, usize, *const core::ffi::c_char, usize, *mut core::ffi::c_void)>;

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:215

Report an issue with this entry →
KuiCustomElementLifecycleFn
Declared3.61.7Rust

Public Rust SDK type KuiCustomElementLifecycleFn; see the declaration for its exact definition.

bindings.rs
pub type KuiCustomElementLifecycleFn = Option<unsafe extern "C" fn(*mut KuiElement, *mut core::ffi::c_void)>;

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:213

Report an issue with this entry →
KuiEventListenerFn
Declared3.61.7Rust

Public Rust SDK type KuiEventListenerFn; see the declaration for its exact definition.

bindings.rs
pub type KuiEventListenerFn = Option<unsafe extern "C" fn(*mut KuiEvent, *mut core::ffi::c_void)>;

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:100

Report an issue with this entry →
KuiHttpResponseFn
Declared3.61.7Rust

Public Rust SDK type KuiHttpResponseFn; see the declaration for its exact definition.

bindings.rs
pub type KuiHttpResponseFn = Option<unsafe extern "C" fn(*mut KuiHttpResponse, *mut core::ffi::c_void)>;

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:180

Report an issue with this entry →
KuiListenerId
Declared3.61.7Rust

Public Rust SDK type KuiListenerId; see the declaration for its exact definition.

bindings.rs
pub type KuiListenerId = u64;

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:102

Report an issue with this entry →
KuiScriptErrorFn
Declared3.61.7Rust

Public Rust SDK type KuiScriptErrorFn; see the declaration for its exact definition.

bindings.rs
pub type KuiScriptErrorFn = Option<unsafe extern "C" fn(*const core::ffi::c_char, usize, *const core::ffi::c_char, usize, core::ffi::c_int, *mut core::ffi::c_void)>;

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:178

Report an issue with this entry →
KuiStatus
Declared3.61.7Rust

Public Rust SDK type KuiStatus; see the declaration for its exact definition.

bindings.rs
pub type KuiStatus = core::ffi::c_int;

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:12

Report an issue with this entry →
KuiTaskFn
Declared3.61.7Rust

Public Rust SDK type KuiTaskFn; see the declaration for its exact definition.

bindings.rs
pub type KuiTaskFn = Option<unsafe extern "C" fn(*mut core::ffi::c_void)>;

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:48

Report an issue with this entry →
KuiTimerId
Declared3.61.7Rust

Public Rust SDK type KuiTimerId; see the declaration for its exact definition.

bindings.rs
pub type KuiTimerId = u64;

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:50

Report an issue with this entry →
KuiWindowEventFn
Declared3.61.7Rust

Public Rust SDK type KuiWindowEventFn; see the declaration for its exact definition.

bindings.rs
pub type KuiWindowEventFn = Option<unsafe extern "C" fn(*mut KuiEvent, *mut core::ffi::c_void)>;

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:157

Report an issue with this entry →
KuiWindowResizeFn
Declared3.61.7Rust

Public Rust SDK type KuiWindowResizeFn; see the declaration for its exact definition.

bindings.rs
pub type KuiWindowResizeFn = Option<unsafe extern "C" fn(u32, u32, *mut core::ffi::c_void)>;

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:89

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