InlineUIContainer
struct · ferroui-controls · v0.5.0
struct InlineUIContainer
InlineUIContainer - a wrapper for embedding a control into text flow
content.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InlineUIContainer>
Returns a strong reference to this object.
child_property
fn child_property() -> &'static StyledProperty<Option<Ref<Control>>>
Defines the Child property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Initializes a new instance of the InlineUIContainer class.
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.
child
fn child(self: &Self) -> Option<Ref<Control>>
The control of the container.
set_child
fn set_child(self: &Self, value: impl Into<Nullable<Control>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeInlineImplExtTextElementImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<InlineUIContainer>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplFerroObjectImplTextElementImplInlineImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.