Function ratatui_get_area_rect

Source
#[no_mangle]
pub extern "C" fn ratatui_get_area_rect(
    handle: *const c_void,
    area_id: u32,
) -> u64
Expand description

Returns the cell-space rectangle of the given area as a packed u64.

The four u16 fields are packed little-endian:

bits  0..16  -> x
bits 16..32  -> y
bits 32..48  -> width
bits 48..64  -> height

Returns 0 if handle is null or the area id is unknown.