pub struct TextUserInput {
pub text: String,
pub text_elements: Option<Vec<TextElement>>,
}Fields§
§text: String§text_elements: Option<Vec<TextElement>>UI-defined spans within text used to render or persist special elements.
Trait Implementations§
Source§impl Clone for TextUserInput
impl Clone for TextUserInput
Source§impl Debug for TextUserInput
impl Debug for TextUserInput
Source§impl Default for TextUserInput
impl Default for TextUserInput
Source§impl<'de> Deserialize<'de> for TextUserInput
impl<'de> Deserialize<'de> for TextUserInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextUserInput
impl PartialEq for TextUserInput
Source§impl Serialize for TextUserInput
impl Serialize for TextUserInput
impl StructuralPartialEq for TextUserInput
Auto Trait Implementations§
impl Forget for TextUserInput
impl Freeze for TextUserInput
impl RefUnwindSafe for TextUserInput
impl Send for TextUserInput
impl Sync for TextUserInput
impl Unpin for TextUserInput
impl UnsafeUnpin for TextUserInput
impl UnwindSafe for TextUserInput
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