FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

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

    Returns a strong reference to this object.

    Source

    thickness_property

    fn thickness_property() -> &'static StyledProperty<Thickness>
    

    Source

    header_property

    fn header_property() -> &'static StyledProperty<Option<String>>
    

    Source

    is_present_property

    fn is_present_property() -> &'static StyledProperty<bool>
    

    Source

    left_property

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

    Source

    top_property

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

    Source

    right_property

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

    Source

    bottom_property

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

    Source

    highlight_property

    fn highlight_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    thickness

    fn thickness(self: &Self) -> Thickness
    

    Source

    set_thickness

    fn set_thickness(self: &Self, value: Thickness)
    

    Source

    header

    fn header(self: &Self) -> Option<String>
    

    Source

    set_header

    fn set_header(self: &Self, value: Option<String>)
    

    Source

    is_present

    fn is_present(self: &Self) -> bool
    

    Source

    set_is_present

    fn set_is_present(self: &Self, value: bool)
    

    Source

    left

    fn left(self: &Self) -> f64
    

    Source

    set_left

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

    Source

    top

    fn top(self: &Self) -> f64
    

    Source

    set_top

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

    Source

    right

    fn right(self: &Self) -> f64
    

    Source

    set_right

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

    Source

    bottom

    fn bottom(self: &Self) -> f64
    

    Source

    set_bottom

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

    Source

    highlight

    fn highlight(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    set_highlight

    fn set_highlight(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    Trait implementations

    Availability

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