FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FlowLayoutImpl

    trait · ferroui-controls-repeater · v0.5.0

    trait FlowLayoutImpl: VirtualizingLayoutImpl + $crate::Upcast<FlowLayout>
    

    The overridable members introduced by the class.

    View source

    Members

    get_measure_size

    fn get_measure_size(this: &Self, index: i32, available_size: Size) -> Size
    

    Source

    get_provisional_arrange_size

    fn get_provisional_arrange_size(this: &Self, index: i32, measure_size: Size, desired_size: Size) -> Size
    

    Source

    should_break_line

    fn should_break_line(this: &Self, index: i32, remaining_space: f64) -> bool
    

    Source

    get_anchor_for_realization_rect

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

    Source

    get_anchor_for_target_element

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

    Source

    get_extent

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

    Source

    on_element_measured

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

    Source

    on_line_arranged

    fn on_line_arranged(this: &Self, start_index: i32, count_in_line: i32, line_size: f64, context: &Ref<VirtualizingLayoutContext>)
    

    Source

    Trait implementations

    Availability

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