LayoutPanel
struct · ferroui-controls-repeater · v0.5.0
struct LayoutPanel
Hosts explicit children using a shareable Layout, including virtualizing layouts adapted to a fixed collection. Border and padding inset the layout.
Members
TYPEto_reflayout_propertyborder_brush_propertyborder_thickness_propertycorner_radius_propertypadding_propertyconstructnewlayoutset_layoutborder_brushset_border_brushborder_thicknessset_border_thicknesscorner_radiusset_corner_radiuspaddingset_paddinglayout_stateset_layout_statelayout_context
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<LayoutPanel>
Returns a strong reference to this object.
layout_property
fn layout_property() -> &'static StyledProperty<Option<Ref<Layout>>>
border_brush_property
fn border_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
border_thickness_property
fn border_thickness_property() -> &'static StyledProperty<Thickness>
corner_radius_property
fn corner_radius_property() -> &'static StyledProperty<CornerRadius>
padding_property
fn padding_property() -> &'static StyledProperty<Thickness>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
layout
fn layout(self: &Self) -> Option<Ref<Layout>>
set_layout
fn set_layout(self: &Self, value: Option<Ref<Layout>>)
border_brush
fn border_brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_border_brush
fn set_border_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
border_thickness
fn border_thickness(self: &Self) -> Thickness
set_border_thickness
fn set_border_thickness(self: &Self, value: Thickness)
corner_radius
fn corner_radius(self: &Self) -> CornerRadius
set_corner_radius
fn set_corner_radius(self: &Self, value: CornerRadius)
padding
fn padding(self: &Self) -> Thickness
set_padding
fn set_padding(self: &Self, value: Thickness)
layout_state
fn layout_state(self: &Self) -> Option<BoxedValue>
set_layout_state
fn set_layout_state(self: &Self, value: Option<BoxedValue>)
layout_context
fn layout_context(self: &Self) -> Ref<LayoutContext>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyControlImplExtPanelImplExtInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<LayoutPanel>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplControlImplPanelImplFerroObjectImplVisualImplLayoutableImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.