pub struct Filling<'a> {
pub value: Value<'a>,
pub placeholder: Option<&'a str>,
pub trailing: Option<Markup<'a>>,
}Expand description
Everything about the field that the description does not carry.
Fields§
§value: Value<'a>What the field holds now.
placeholder: Option<&'a str>Ghost text shown while the field is empty.
trailing: Option<Markup<'a>>Markup appended inside the group, after the hint. Not escaped.
Implementations§
Trait Implementations§
impl<'a> Copy for Filling<'a>
Auto Trait Implementations§
impl<'a> Freeze for Filling<'a>
impl<'a> RefUnwindSafe for Filling<'a>
impl<'a> Send for Filling<'a>
impl<'a> Sync for Filling<'a>
impl<'a> Unpin for Filling<'a>
impl<'a> UnsafeUnpin for Filling<'a>
impl<'a> UnwindSafe for Filling<'a>
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