FlowLayoutState
struct · ferroui-controls-repeater · v0.5.0
struct FlowLayoutState
Members
flow_algorithmTYPEto_refconstructnewinitialize_for_contextuninitialize_for_contexton_line_arrangedtotal_line_sizetotal_lines_measuredtotal_items_per_linespecial_element_desired_sizeset_special_element_desired_size
flow_algorithm
flow_algorithm: super::FlowLayoutAlgorithm
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<FlowLayoutState>
Returns a strong reference to this object.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
initialize_for_context
fn initialize_for_context(self: &Self, context: &Ref<VirtualizingLayoutContext>)
uninitialize_for_context
fn uninitialize_for_context(self: &Self, context: &Ref<VirtualizingLayoutContext>)
on_line_arranged
fn on_line_arranged(self: &Self, start: i32, count: i32, size: f64, context: &Ref<VirtualizingLayoutContext>)
total_line_size
fn total_line_size(self: &Self) -> f64
total_lines_measured
fn total_lines_measured(self: &Self) -> i32
total_items_per_line
fn total_items_per_line(self: &Self) -> f64
special_element_desired_size
fn special_element_desired_size(self: &Self) -> Size
set_special_element_desired_size
fn set_special_element_desired_size(self: &Self, value: Size)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<FlowLayoutState>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.