FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FlowLayout

    struct · ferroui-controls-repeater · v0.5.0

    struct FlowLayout
    

    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<FlowLayout>
    

    Returns a strong reference to this object.

    Source

    get_measure_size

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

    Source

    get_provisional_arrange_size

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

    Source

    should_break_line

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

    Source

    get_anchor_for_realization_rect

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

    Source

    get_anchor_for_target_element

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

    Source

    get_extent

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

    Source

    on_element_measured

    fn 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

    on_line_arranged

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

    Source

    orientation_property

    fn orientation_property() -> &'static StyledProperty<Orientation>
    

    Source

    line_spacing_property

    fn line_spacing_property() -> &'static StyledProperty<f64>
    

    Source

    min_item_spacing_property

    fn min_item_spacing_property() -> &'static StyledProperty<f64>
    

    Source

    line_alignment_property

    fn line_alignment_property() -> &'static StyledProperty<FlowLayoutLineAlignment>
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    orientation

    fn orientation(self: &Self) -> Orientation
    

    Source

    set_orientation

    fn set_orientation(self: &Self, value: Orientation)
    

    Source

    line_spacing

    fn line_spacing(self: &Self) -> f64
    

    Source

    set_line_spacing

    fn set_line_spacing(self: &Self, value: f64)
    

    Source

    min_item_spacing

    fn min_item_spacing(self: &Self) -> f64
    

    Source

    set_min_item_spacing

    fn set_min_item_spacing(self: &Self, value: f64)
    

    Source

    line_alignment

    fn line_alignment(self: &Self) -> FlowLayoutLineAlignment
    

    Source

    set_line_alignment

    fn set_line_alignment(self: &Self, value: FlowLayoutLineAlignment)
    

    Source

    state

    fn state(context: &Ref<VirtualizingLayoutContext>) -> Option<Ref<FlowLayoutState>>
    

    Source

    Trait implementations

    Availability

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