pub enum TextWrapMode {
Soft,
Hard,
NoWrap,
}Expand description
Editable multiline wrapping and submission behavior.
Variants§
Soft
Wrap visually without inserting line breaks into submitted text.
Hard
Wrap visually and allow HTML textarea targets to submit hard line breaks.
NoWrap
Do not wrap; overflow scrolls horizontally.
Trait Implementations§
Source§impl Clone for TextWrapMode
impl Clone for TextWrapMode
Source§fn clone(&self) -> TextWrapMode
fn clone(&self) -> TextWrapMode
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 moreimpl Copy for TextWrapMode
Source§impl Debug for TextWrapMode
impl Debug for TextWrapMode
Source§impl Default for TextWrapMode
impl Default for TextWrapMode
Source§fn default() -> TextWrapMode
fn default() -> TextWrapMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextWrapMode
impl<'de> Deserialize<'de> for TextWrapMode
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
impl Eq for TextWrapMode
Source§impl Hash for TextWrapMode
impl Hash for TextWrapMode
Source§impl PartialEq for TextWrapMode
impl PartialEq for TextWrapMode
Source§impl Serialize for TextWrapMode
impl Serialize for TextWrapMode
impl StructuralPartialEq for TextWrapMode
Auto Trait Implementations§
impl Freeze for TextWrapMode
impl RefUnwindSafe for TextWrapMode
impl Send for TextWrapMode
impl Sync for TextWrapMode
impl Unpin for TextWrapMode
impl UnsafeUnpin for TextWrapMode
impl UnwindSafe for TextWrapMode
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