ThicknessEditor
struct · ferroui-diagnostics · v0.5.0
struct ThicknessEditor
An editor of a thickness: the four sides as numbers around the content, which is the area inside the thickness, with a header and a highlight. The layout explorer nests the editors of the margin, the border and the padding of a control around its content.
Members
TYPEto_refthickness_propertyheader_propertyis_present_propertyleft_propertytop_propertyright_propertybottom_propertyhighlight_propertyconstructnewthicknessset_thicknessheaderset_headeris_presentset_is_presentleftset_lefttopset_toprightset_rightbottomset_bottomhighlightset_highlight
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ThicknessEditor>
Returns a strong reference to this object.
thickness_property
fn thickness_property() -> &'static StyledProperty<Thickness>
header_property
fn header_property() -> &'static StyledProperty<Option<String>>
is_present_property
fn is_present_property() -> &'static StyledProperty<bool>
left_property
fn left_property() -> &'static StyledProperty<f64>
top_property
fn top_property() -> &'static StyledProperty<f64>
right_property
fn right_property() -> &'static StyledProperty<f64>
bottom_property
fn bottom_property() -> &'static StyledProperty<f64>
highlight_property
fn highlight_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
thickness
fn thickness(self: &Self) -> Thickness
set_thickness
fn set_thickness(self: &Self, value: Thickness)
header
fn header(self: &Self) -> Option<String>
set_header
fn set_header(self: &Self, value: Option<String>)
is_present
fn is_present(self: &Self) -> bool
set_is_present
fn set_is_present(self: &Self, value: bool)
left
fn left(self: &Self) -> f64
set_left
fn set_left(self: &Self, value: f64)
top
fn top(self: &Self) -> f64
set_top
fn set_top(self: &Self, value: f64)
right
fn right(self: &Self) -> f64
set_right
fn set_right(self: &Self, value: f64)
bottom
fn bottom(self: &Self) -> f64
set_bottom
fn set_bottom(self: &Self, value: f64)
highlight
fn highlight(self: &Self) -> Option<Rc<dyn IBrush>>
set_highlight
fn set_highlight(self: &Self, value: Option<Rc<dyn IBrush>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtContentControlImplExtControlImplExtDerefUpcast<T>Upcast<ThicknessEditor>StaticTypeObjectTypeSubclassable<T>StyledElementImplVisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplContentControlImplDefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.