FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VirtualizationInfo

    struct · ferroui-controls-repeater · v0.5.0

    struct VirtualizationInfo
    

    The ownership and layout state of one realized element. The template component is held weakly; the phased item is held strongly while phasing lasts (see data).

    View source

    Members

    PHASE_NOT_SPECIFIED

    const PHASE_NOT_SPECIFIED: i32
    

    Source

    PHASE_REACHED_END

    const PHASE_REACHED_END: i32
    

    Source

    INVALID_RECT

    const INVALID_RECT: Rect
    

    Source

    new

    fn new() -> Rc<Self>
    

    Source

    owner

    fn owner(self: &Self) -> ElementOwner
    

    Source

    index

    fn index(self: &Self) -> i32
    

    Source

    unique_id

    fn unique_id(self: &Self) -> String
    

    Source

    is_pinned

    fn is_pinned(self: &Self) -> bool
    

    Source

    pin_count

    fn pin_count(self: &Self) -> u32
    

    Source

    is_held_by_layout

    fn is_held_by_layout(self: &Self) -> bool
    

    Source

    is_in_pinned_pool

    fn is_in_pinned_pool(self: &Self) -> bool
    

    Source

    is_in_unique_id_reset_pool

    fn is_in_unique_id_reset_pool(self: &Self) -> bool
    

    Source

    is_realized

    fn is_realized(self: &Self) -> bool
    

    Source

    phase

    fn phase(self: &Self) -> i32
    

    Source

    set_phase

    fn set_phase(self: &Self, phase: i32)
    

    Source

    data

    fn data(self: &Self) -> Option<BoxedValue>
    

    Source

    data_template_component

    fn data_template_component(self: &Self) -> Option<Rc<dyn IDataTemplateComponent>>
    

    Source

    update_phasing_info

    fn update_phasing_info(self: &Self, phase: i32, data: Option<BoxedValue>, component: Option<Rc<dyn IDataTemplateComponent>>)
    

    Source

    must_clear_data_context

    fn must_clear_data_context(self: &Self) -> bool
    

    Source

    set_must_clear_data_context

    fn set_must_clear_data_context(self: &Self, value: bool)
    

    Source

    keep_alive

    fn keep_alive(self: &Self) -> bool
    

    Source

    set_keep_alive

    fn set_keep_alive(self: &Self, value: bool)
    

    Source

    auto_recycle_candidate

    fn auto_recycle_candidate(self: &Self) -> bool
    

    Source

    set_auto_recycle_candidate

    fn set_auto_recycle_candidate(self: &Self, value: bool)
    

    Source

    arrange_bounds

    fn arrange_bounds(self: &Self) -> Rect
    

    Source

    set_arrange_bounds

    fn set_arrange_bounds(self: &Self, value: Rect)
    

    Source

    move_ownership_to_layout_from_element_factory

    fn move_ownership_to_layout_from_element_factory(self: &Self, index: i32, unique_id: impl Into<String>)
    

    Source

    move_ownership_to_layout_from_unique_id_reset_pool

    fn move_ownership_to_layout_from_unique_id_reset_pool(self: &Self)
    

    Source

    move_ownership_to_layout_from_pinned_pool

    fn move_ownership_to_layout_from_pinned_pool(self: &Self)
    

    Source

    move_ownership_to_element_factory

    fn move_ownership_to_element_factory(self: &Self)
    

    Source

    move_ownership_to_unique_id_reset_pool_from_layout

    fn move_ownership_to_unique_id_reset_pool_from_layout(self: &Self)
    

    Source

    move_ownership_to_animator

    fn move_ownership_to_animator(self: &Self)
    

    Source

    move_ownership_to_pinned_pool

    fn move_ownership_to_pinned_pool(self: &Self)
    

    Source

    add_pin

    fn add_pin(self: &Self) -> u32
    

    Source

    remove_pin

    fn remove_pin(self: &Self) -> u32
    

    Source

    update_index

    fn update_index(self: &Self, index: i32)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • PartialEq
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.