pub struct RichEditor { /* private fields */ }Implementations§
Source§impl RichEditor
impl RichEditor
Sourcepub fn mark(self, name: &'static str) -> Self
pub fn mark(self, name: &'static str) -> Self
Name a part of an explicit static plan; not a DOM id or data key.
pub fn backend_options<T: 'static>(self, value: T) -> Self
Source§impl RichEditor
impl RichEditor
Sourcepub fn class(self, value: impl Into<Vary<String>>) -> Self
pub fn class(self, value: impl Into<Vary<String>>) -> Self
Set the complete whitespace-separated class list (last call wins).
Sourcepub fn class_fn(self, read: impl FnMut() -> String + 'static) -> Self
pub fn class_fn(self, read: impl FnMut() -> String + 'static) -> Self
Compute one property directly in its pure Binding.
pub fn style_fn(self, read: impl FnMut() -> Style + 'static) -> Self
pub fn style(self, value: impl Into<Vary<Style>>) -> Self
Sourcepub fn name(self, value: impl Into<Vary<String>>) -> Self
pub fn name(self, value: impl Into<Vary<String>>) -> Self
Accessible name. Plain inline/paragraph text uses content; decorative images have no accessible name. A named generic View becomes an accessible group without changing its layout box.
pub fn focus(self, mode: impl Into<Vary<FocusMode>>) -> Self
Sourcepub fn semantics(self, value: impl Into<Vary<Option<Box<Semantics>>>>) -> Self
pub fn semantics(self, value: impl Into<Vary<Option<Box<Semantics>>>>) -> Self
Finite composite-widget state and document-scoped relations.
pub fn on(self, kind: EventKind, handler: impl FnMut(Event) + 'static) -> Self
Trait Implementations§
Source§impl Default for RichEditor
impl Default for RichEditor
Auto Trait Implementations§
impl !RefUnwindSafe for RichEditor
impl !Send for RichEditor
impl !Sync for RichEditor
impl !UnwindSafe for RichEditor
impl Forget for RichEditor
impl Freeze for RichEditorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RcInner<Vec<SelectEntry>> is !null: Freeze,
PhantomData<RcInner<Vec<SelectEntry>>>: Freeze,
PhantomData<SemanticId>: Freeze,
PhantomData<FileFilter>: Freeze,
*const RcInner<RichDocument> is !null: Freeze,
PhantomData<RcInner<RichDocument>>: Freeze,
PhantomData<ImageCandidate>: Freeze,
PhantomData<ImageSizeHint>: Freeze,
PhantomData<PathCommand>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GridTrack>: Freeze,
PhantomData<Color>: Freeze,
PhantomData<Family>: Freeze,
PhantomData<(TypeId, Rc<dyn Any>)>: Freeze,
*const Semantics is !null: Freeze,
PhantomData<Semantics>: Freeze,
*const LeafNode<Slot, Patch> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(Slot, Patch)>>: Freeze,
*const LeafNode<Slot, Box<dyn FnOnce(&Scope) -> Result<(Patch, Box<dyn FnOnce(&Scope, NodeId) -> Result<(), Error>>), Error>>> is !null: Freeze,
PhantomData<Box<(Slot, Box<dyn FnOnce(&Scope) -> Result<(Patch, Box<dyn FnOnce(&Scope, NodeId) -> Result<(), Error>>), Error>>)>>: Freeze,
*const LeafNode<EventKind, Box<dyn FnMut(Event)>> is !null: Freeze,
PhantomData<Box<(EventKind, Box<dyn FnMut(Event)>)>>: Freeze,
PhantomData<Box<dyn Widget>>: Freeze,
PhantomData<Rc<Option<NodeId>>>: Freeze,
&'static str: Freeze,
impl Move for RichEditor
impl Unpin for RichEditorwhere
*const u8 is !null: Unpin,
Rc<Vec<SelectEntry>>: Unpin,
Rc<RichDocument>: Unpin,
*const (): Unpin,
Rc<dyn Any>: Unpin,
Box<Semantics>: Unpin,
*const LeafNode<Slot, Patch> is !null: Unpin,
Box<(Slot, Patch)>: Unpin,
*const LeafNode<Slot, Box<dyn FnOnce(&Scope) -> Result<(Patch, Box<dyn FnOnce(&Scope, NodeId) -> Result<(), Error>>), Error>>> is !null: Unpin,
Box<(Slot, Box<dyn FnOnce(&Scope) -> Result<(Patch, Box<dyn FnOnce(&Scope, NodeId) -> Result<(), Error>>), Error>>)>: Unpin,
*const LeafNode<EventKind, Box<dyn FnMut(Event)>> is !null: Unpin,
Box<(EventKind, Box<dyn FnMut(Event)>)>: Unpin,
Box<dyn Widget>: Unpin,
Rc<Option<NodeId>>: Unpin,
&'static str: Unpin,
impl UnsafeUnpin for RichEditorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RcInner<Vec<SelectEntry>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<SelectEntry>>>: UnsafeUnpin,
PhantomData<SemanticId>: UnsafeUnpin,
PhantomData<FileFilter>: UnsafeUnpin,
*const RcInner<RichDocument> is !null: UnsafeUnpin,
PhantomData<RcInner<RichDocument>>: UnsafeUnpin,
PhantomData<ImageCandidate>: UnsafeUnpin,
PhantomData<ImageSizeHint>: UnsafeUnpin,
PhantomData<PathCommand>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GridTrack>: UnsafeUnpin,
PhantomData<Color>: UnsafeUnpin,
PhantomData<Family>: UnsafeUnpin,
PhantomData<(TypeId, Rc<dyn Any>)>: UnsafeUnpin,
*const Semantics is !null: UnsafeUnpin,
PhantomData<Semantics>: UnsafeUnpin,
*const LeafNode<Slot, Patch> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(Slot, Patch)>>: UnsafeUnpin,
*const LeafNode<Slot, Box<dyn FnOnce(&Scope) -> Result<(Patch, Box<dyn FnOnce(&Scope, NodeId) -> Result<(), Error>>), Error>>> is !null: UnsafeUnpin,
PhantomData<Box<(Slot, Box<dyn FnOnce(&Scope) -> Result<(Patch, Box<dyn FnOnce(&Scope, NodeId) -> Result<(), Error>>), Error>>)>>: UnsafeUnpin,
*const LeafNode<EventKind, Box<dyn FnMut(Event)>> is !null: UnsafeUnpin,
PhantomData<Box<(EventKind, Box<dyn FnMut(Event)>)>>: UnsafeUnpin,
PhantomData<Box<dyn Widget>>: UnsafeUnpin,
PhantomData<Rc<Option<NodeId>>>: UnsafeUnpin,
&'static str: UnsafeUnpin,
Blanket Implementations§
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