pub enum ScrollViewKeyboardDismissBehavior {
Manual,
OnDrag,
}Expand description
A representation of how a ScrollView should dismiss the on-screen
keyboard.
Variants§
Manual
There is no automatic dismissal of the on-screen keyboard. It is up to the client to dismiss the keyboard.
OnDrag
The ScrollView will dismiss an on-screen keyboard when a drag begins.
Trait Implementations§
impl Copy for ScrollViewKeyboardDismissBehavior
impl Eq for ScrollViewKeyboardDismissBehavior
impl StructuralPartialEq for ScrollViewKeyboardDismissBehavior
Auto Trait Implementations§
impl Forget for ScrollViewKeyboardDismissBehavior
impl Freeze for ScrollViewKeyboardDismissBehavior
impl Move for ScrollViewKeyboardDismissBehavior
impl RefUnwindSafe for ScrollViewKeyboardDismissBehavior
impl Send for ScrollViewKeyboardDismissBehavior
impl Sync for ScrollViewKeyboardDismissBehavior
impl Unpin for ScrollViewKeyboardDismissBehavior
impl UnsafeUnpin for ScrollViewKeyboardDismissBehavior
impl UnwindSafe for ScrollViewKeyboardDismissBehavior
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.