pub struct RichEditBox { /* private fields */ }Implementations§
Source§impl RichEditBox
impl RichEditBox
pub fn new() -> Self
pub fn element_ref(self, reference: &ElementRef<Self>) -> Self
pub fn text(self, value: impl Into<String>) -> Self
pub fn text_optional<T>(self, value: Option<T>) -> Self
pub fn placeholder_text(self, value: impl Into<String>) -> Self
pub fn placeholder_text_optional<T>(self, value: Option<T>) -> Self
pub fn is_read_only(self, value: impl Into<Option<bool>>) -> Self
pub fn is_enabled(self, value: impl Into<Option<bool>>) -> Self
pub fn on_text_changed(self, callback: impl IntoPayloadCallback<String>) -> Self
Trait Implementations§
Source§impl Clone for RichEditBox
impl Clone for RichEditBox
Source§fn clone(&self) -> RichEditBox
fn clone(&self) -> RichEditBox
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RichEditBox
impl Debug for RichEditBox
Source§impl Default for RichEditBox
impl Default for RichEditBox
Source§fn default() -> RichEditBox
fn default() -> RichEditBox
Returns the “default value” for a type. Read more
impl FocusControl for RichEditBox
Source§impl From<RichEditBox> for View
impl From<RichEditBox> for View
Source§fn from(value: RichEditBox) -> Self
fn from(value: RichEditBox) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for RichEditBox
impl LayoutControl for RichEditBox
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for RichEditBox
impl PartialEq for RichEditBox
impl ReferenceControl for RichEditBox
Source§impl SlotsControl for RichEditBox
impl SlotsControl for RichEditBox
impl StructuralPartialEq for RichEditBox
Auto Trait Implementations§
impl !RefUnwindSafe for RichEditBox
impl !Send for RichEditBox
impl !Sync for RichEditBox
impl !UnwindSafe for RichEditBox
impl Freeze for RichEditBox
impl Unpin for RichEditBox
impl UnsafeUnpin for RichEditBox
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more