struct ResizeInteraction {
outer_rect: Rect,
window_frame: Frame,
left: SideResponse,
right: SideResponse,
top: SideResponse,
bottom: SideResponse,
}
Expand description
Resizing the window edges.
Fields§
§outer_rect: Rect
Outer rect (outside the stroke)
window_frame: Frame
§left: SideResponse
§right: SideResponse
§top: SideResponse
§bottom: SideResponse
Implementations§
Source§impl ResizeInteraction
impl ResizeInteraction
pub fn set_cursor(&self, ctx: &Context)
pub fn any_hovered(&self) -> bool
pub fn any_dragged(&self) -> bool
Trait Implementations§
Source§impl Clone for ResizeInteraction
impl Clone for ResizeInteraction
Source§fn clone(&self) -> ResizeInteraction
fn clone(&self) -> ResizeInteraction
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 ResizeInteraction
impl Debug for ResizeInteraction
impl Copy for ResizeInteraction
Auto Trait Implementations§
impl Freeze for ResizeInteraction
impl RefUnwindSafe for ResizeInteraction
impl Send for ResizeInteraction
impl Sync for ResizeInteraction
impl Unpin for ResizeInteraction
impl UnwindSafe for ResizeInteraction
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