pub enum TextFieldLineLimits {
SingleLine,
MultiLine {
min_height_in_lines: usize,
max_height_in_lines: usize,
},
}Expand description
Limits on the number of visible lines in a text field.
Corresponds to Compose’s TextFieldLineLimits.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TextFieldLineLimits
impl Clone for TextFieldLineLimits
Source§fn clone(&self) -> TextFieldLineLimits
fn clone(&self) -> TextFieldLineLimits
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 TextFieldLineLimits
Source§impl Debug for TextFieldLineLimits
impl Debug for TextFieldLineLimits
impl Eq for TextFieldLineLimits
Source§impl PartialEq for TextFieldLineLimits
impl PartialEq for TextFieldLineLimits
Source§fn eq(&self, other: &TextFieldLineLimits) -> bool
fn eq(&self, other: &TextFieldLineLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextFieldLineLimits
Auto Trait Implementations§
impl Freeze for TextFieldLineLimits
impl RefUnwindSafe for TextFieldLineLimits
impl Send for TextFieldLineLimits
impl Sync for TextFieldLineLimits
impl Unpin for TextFieldLineLimits
impl UnsafeUnpin for TextFieldLineLimits
impl UnwindSafe for TextFieldLineLimits
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