pub enum SearchPatch {
Focus,
Text(String),
Scope(usize),
Suggestions(Vec<String>),
}Expand description
A targeted update to a live search field, the path a bound signal writes through, so syncing text never rebuilds (and refocuses) the field mid-word.
Variants§
Trait Implementations§
Source§impl Clone for SearchPatch
impl Clone for SearchPatch
Source§fn clone(&self) -> SearchPatch
fn clone(&self) -> SearchPatch
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 moreSource§impl Debug for SearchPatch
impl Debug for SearchPatch
Source§impl PartialEq for SearchPatch
impl PartialEq for SearchPatch
impl StructuralPartialEq for SearchPatch
Auto Trait Implementations§
impl Freeze for SearchPatch
impl RefUnwindSafe for SearchPatch
impl Send for SearchPatch
impl Sync for SearchPatch
impl Unpin for SearchPatch
impl UnsafeUnpin for SearchPatch
impl UnwindSafe for SearchPatch
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