pub enum EditAction {
TileResized,
TileDragged,
TileDropped,
TabSelected,
}Expand description
The kind of edit that triggered the call to Behavior::on_edit.
Variants§
TileResized
A tile was resized by dragging or double-clicking a boundary.
TileDragged
A drag with a tile started.
TileDropped
A tile was dropped and its position changed accordingly.
TabSelected
A tab was selected by a click, or by hovering a dragged tile over it, or there was no active tab and egui picked an arbitrary one.
Trait Implementations§
Source§impl Clone for EditAction
impl Clone for EditAction
Source§fn clone(&self) -> EditAction
fn clone(&self) -> EditAction
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 EditAction
impl Debug for EditAction
Source§impl PartialEq for EditAction
impl PartialEq for EditAction
impl Eq for EditAction
impl StructuralPartialEq for EditAction
Auto Trait Implementations§
impl Freeze for EditAction
impl RefUnwindSafe for EditAction
impl Send for EditAction
impl Sync for EditAction
impl Unpin for EditAction
impl UnwindSafe for EditAction
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