FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VirtualizingLayoutContext

    struct · ferroui-controls-repeater · v0.5.0

    struct VirtualizingLayoutContext
    

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<VirtualizingLayoutContext>
    

    Returns a strong reference to this object.

    Source

    item_count_core

    fn item_count_core(self: &Self) -> i32
    

    Source

    get_item_at_core

    fn get_item_at_core(self: &Self, index: i32) -> Option<BoxedValue>
    

    Source

    get_or_create_element_at_core

    fn get_or_create_element_at_core(self: &Self, index: i32, options: ElementRealizationOptions) -> Ref<Control>
    

    Source

    recycle_element_core

    fn recycle_element_core(self: &Self, element: &Ref<Control>)
    

    Source

    visible_rect_core

    fn visible_rect_core(self: &Self) -> Rect
    

    Source

    realization_rect_core

    fn realization_rect_core(self: &Self) -> Rect
    

    Source

    fn recommended_anchor_index_core(self: &Self) -> i32
    

    Source

    layout_origin_core

    fn layout_origin_core(self: &Self) -> Point
    

    Source

    set_layout_origin_core

    fn set_layout_origin_core(self: &Self, value: Point)
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    with_host

    fn with_host(host: Rc<dyn LayoutContextHost>) -> Ref<Self>
    

    Source

    item_count

    fn item_count(self: &Self) -> i32
    

    Source

    get_item_at

    fn get_item_at(self: &Self, index: i32) -> Option<BoxedValue>
    

    Source

    get_or_create_element_at

    fn get_or_create_element_at(self: &Self, index: i32) -> Ref<Control>
    

    Source

    get_or_create_element_at_with_options

    fn get_or_create_element_at_with_options(self: &Self, index: i32, options: ElementRealizationOptions) -> Ref<Control>
    

    Source

    recycle_element

    fn recycle_element(self: &Self, element: &Ref<Control>)
    

    Source

    visible_rect

    fn visible_rect(self: &Self) -> Rect
    

    Source

    realization_rect

    fn realization_rect(self: &Self) -> Rect
    

    Source

    fn recommended_anchor_index(self: &Self) -> i32
    

    Source

    layout_origin

    fn layout_origin(self: &Self) -> Point
    

    Source

    set_layout_origin

    fn set_layout_origin(self: &Self, value: Point)
    

    Source

    is_virtualizing

    fn is_virtualizing(self: &Self) -> bool
    

    Source

    Trait implementations

    Availability

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