Module i_slint_core::component
source · Expand description
This module contains the basic datastructures that are exposed to the C API
Structs
- Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable
- A Component is representing an unit that is allocated together
- A range of indices
Traits
- A Component is representing an unit that is allocated together Note: Was generated from the
#[vtable]macro onComponentVTable
Functions
- Call init() on the ItemVTable for each item of the component.
- Free the backend graphics resources allocated by the component’s items.
Type Definitions
- Type alias to the commonly used VRc<ComponentVTable, Dyn>>
- Alias for
vtable::VRef<ComponentVTable>which represent a pointer to adyn Componentwith the associated vtable - Type alias to the commonly used
Pin<VRef<ComponentVTable>>> - Type alias to the commonly used VWeak<ComponentVTable, Dyn>>