pub struct InteractOptions {
pub move_to_top: bool,
}Expand description
How to handle multiple calls to crate::Response::interact and crate::Ui::interact_opt.
Fields§
§move_to_top: boolIf we call interact on the same widget multiple times, should we move it to the top on subsequent calls?
Trait Implementations§
Source§impl Clone for InteractOptions
impl Clone for InteractOptions
Source§fn clone(&self) -> InteractOptions
fn clone(&self) -> InteractOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 InteractOptions
impl Debug for InteractOptions
Source§impl Default for InteractOptions
impl Default for InteractOptions
Source§impl PartialEq for InteractOptions
impl PartialEq for InteractOptions
impl Copy for InteractOptions
impl Eq for InteractOptions
impl StructuralPartialEq for InteractOptions
Auto Trait Implementations§
impl Freeze for InteractOptions
impl RefUnwindSafe for InteractOptions
impl Send for InteractOptions
impl Sync for InteractOptions
impl Unpin for InteractOptions
impl UnsafeUnpin for InteractOptions
impl UnwindSafe for InteractOptions
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
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more