FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InlineUIContainer

    struct · ferroui-controls · v0.5.0

    struct InlineUIContainer
    

    InlineUIContainer - a wrapper for embedding a control into text flow 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<InlineUIContainer>
    

    Returns a strong reference to this object.

    Source

    child_property

    fn child_property() -> &'static StyledProperty<Option<Ref<Control>>>
    

    Defines the Child property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Initializes a new instance of the InlineUIContainer class.

    Source

    with_child

    fn with_child(child: impl IntoRef<Control>) -> Ref<Self>
    

    Initializes a new instance of the InlineUIContainer class with the control set as its child.

    Source

    child

    fn child(self: &Self) -> Option<Ref<Control>>
    

    The control of the container.

    Source

    set_child

    fn set_child(self: &Self, value: impl Into<Nullable<Control>>)
    

    Source

    Trait implementations

    Availability

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