pub struct Band {
pub dragging: bool,
pub double_clicked: bool,
pub delta: Vec2,
pub hovered: bool,
pub response: Option<Response>,
/* private fields */
}Expand description
A band as laid out this pass, and what the pointer did to it.
Fields§
§dragging: boolBeing dragged.
double_clicked: boolDouble-clicked.
delta: Vec2The drag’s move this pass.
hovered: boolUnder the pointer (not under one of its buttons).
response: Option<Response>The band’s own response (not its buttons’): a context menu opens on it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Band
impl !RefUnwindSafe for Band
impl Send for Band
impl Sync for Band
impl Unpin for Band
impl UnsafeUnpin for Band
impl !UnwindSafe for Band
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<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