FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IFlowLayoutAlgorithmDelegates

    trait · ferroui-controls-repeater · v0.5.0

    trait IFlowLayoutAlgorithmDelegates
    

    The policy hooks used by Stack, Flow and UniformGrid layouts.

    View source

    Members

    algorithm_get_measure_size

    fn algorithm_get_measure_size(self: &Self, index: i32, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> Size
    

    Source

    algorithm_get_provisional_arrange_size

    fn algorithm_get_provisional_arrange_size(self: &Self, index: i32, measure_size: Size, desired_size: Size, context: &Ref<VirtualizingLayoutContext>) -> Size
    

    Source

    algorithm_should_break_line

    fn algorithm_should_break_line(self: &Self, index: i32, remaining_space: f64) -> bool
    

    Source

    algorithm_get_anchor_for_realization_rect

    fn algorithm_get_anchor_for_realization_rect(self: &Self, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> FlowLayoutAnchorInfo
    

    Source

    algorithm_get_anchor_for_target_element

    fn algorithm_get_anchor_for_target_element(self: &Self, index: i32, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> FlowLayoutAnchorInfo
    

    Source

    algorithm_get_extent

    fn algorithm_get_extent(self: &Self, available_size: Size, context: &Ref<VirtualizingLayoutContext>, first: FlowLayoutRealizedElement, last: FlowLayoutRealizedElement) -> Rect
    

    Source

    algorithm_on_element_measured

    fn algorithm_on_element_measured(self: &Self, element: &Ref<Control>, index: i32, available_size: Size, measure_size: Size, desired_size: Size, provisional_arrange_size: Size, context: &Ref<VirtualizingLayoutContext>)
    

    Source

    algorithm_on_line_arranged

    fn algorithm_on_line_arranged(self: &Self, start_index: i32, count: i32, line_size: f64, context: &Ref<VirtualizingLayoutContext>)
    

    Source

    algorithm_on_layout_round_factor_changed

    fn algorithm_on_layout_round_factor_changed(self: &Self, context: &Ref<VirtualizingLayoutContext>)
    

    Source

    algorithm_set_anchor_info

    fn algorithm_set_anchor_info(self: &Self, index: i32, offset: f64)
    

    Source

    Availability

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