pub struct PlainTextInput {
pub text: String,
pub locale: Option<String>,
pub max_lines: Option<u32>,
pub pending_policy: PendingMeasurePolicy,
}Expand description
Plain UTF-8 text and element inputs not supplied by computed style.
Fields§
§text: StringUTF-8 text after application-level transformations.
locale: Option<String>Optional BCP-47 locale hint.
max_lines: Option<u32>Maximum visible line count.
pending_policy: PendingMeasurePolicyLayout behavior if the Host cannot answer synchronously.
Implementations§
Trait Implementations§
Source§impl Clone for PlainTextInput
impl Clone for PlainTextInput
Source§impl Debug for PlainTextInput
impl Debug for PlainTextInput
Source§impl PartialEq for PlainTextInput
impl PartialEq for PlainTextInput
impl StructuralPartialEq for PlainTextInput
Auto Trait Implementations§
impl Forget for PlainTextInput
impl Freeze for PlainTextInput
impl Move for PlainTextInput
impl RefUnwindSafe for PlainTextInput
impl Send for PlainTextInput
impl Sync for PlainTextInput
impl Unpin for PlainTextInput
impl UnsafeUnpin for PlainTextInput
impl UnwindSafe for PlainTextInput
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