pub struct SelectedContent {
pub plain_text: String,
}Expand description
The selected content in a selectable or handler; only plain text so far.
Fields§
§plain_text: StringThe selected content in plain text format.
Implementations§
Source§impl SelectedContent
impl SelectedContent
Sourcepub fn new(plain_text: impl Into<String>) -> SelectedContent
pub fn new(plain_text: impl Into<String>) -> SelectedContent
Creates selected content of plain text.
Trait Implementations§
Source§impl Clone for SelectedContent
impl Clone for SelectedContent
Source§fn clone(&self) -> SelectedContent
fn clone(&self) -> SelectedContent
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 Forget for SelectedContent
impl Freeze for SelectedContent
impl Move for SelectedContent
impl RefUnwindSafe for SelectedContent
impl Send for SelectedContentwhere
RawVecInner: Send,
impl Sync for SelectedContentwhere
RawVecInner: Sync,
impl Unpin for SelectedContent
impl UnsafeUnpin for SelectedContent
impl UnwindSafe for SelectedContentwhere
RawVecInner: UnwindSafe,
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