Struct egui::containers::window::ResizeInteraction
source · struct ResizeInteraction {
start_rect: Rect,
left: SideResponse,
right: SideResponse,
top: SideResponse,
bottom: SideResponse,
}
Expand description
Resizing the window edges.
Fields§
§start_rect: Rect
§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 copy 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