pub struct BasicTextFieldDecorationScope { /* private fields */ }Expand description
Scope passed to a basic text field decoration box.
The decoration may place arbitrary composables around the editable content,
but must call inner_text_field exactly once.
Implementations§
Source§impl BasicTextFieldDecorationScope
impl BasicTextFieldDecorationScope
pub fn inner_text_field(&self) -> NodeId
Trait Implementations§
Source§impl Clone for BasicTextFieldDecorationScope
impl Clone for BasicTextFieldDecorationScope
Source§fn clone(&self) -> BasicTextFieldDecorationScope
fn clone(&self) -> BasicTextFieldDecorationScope
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for BasicTextFieldDecorationScope
impl !Send for BasicTextFieldDecorationScope
impl !Sync for BasicTextFieldDecorationScope
impl !UnwindSafe for BasicTextFieldDecorationScope
impl Freeze for BasicTextFieldDecorationScope
impl Unpin for BasicTextFieldDecorationScope
impl UnsafeUnpin for BasicTextFieldDecorationScope
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