RichEditBoxTextPresenter
struct · ferroui-controls · v0.5.0
struct RichEditBoxTextPresenter
Renders and scrolls the owner's single rich document using FerroUI text layout.
The presenter survives template replacement. It formats the entire document at the viewport width, and translates every text geometry operation by the same pixel scroll offset. It has no separate editing buffer or undo history.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RichEditBoxTextPresenter>
Returns a strong reference to this object.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
owner
fn owner(self: &Self) -> Option<Ref<RichEditBox>>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeControlImplExtRichTextBlockImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<RichEditBoxTextPresenter>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplVisualImplFerroObjectImplControlImplInputElementImplRichTextBlockImplLayoutableImplIScrollableILogicalScrollable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.