pub enum ResizeHandle {
CircleRadius,
RectEdges {
left: bool,
right: bool,
top: bool,
bottom: bool,
},
}Expand description
A resize grip on a shape’s border.
Variants§
CircleRadius
Dragging the rim of a circle: radius follows the cursor.
RectEdges
Dragging one or two rect edges; the others stay anchored.
Trait Implementations§
Source§impl Clone for ResizeHandle
impl Clone for ResizeHandle
Source§fn clone(&self) -> ResizeHandle
fn clone(&self) -> ResizeHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResizeHandle
Source§impl Debug for ResizeHandle
impl Debug for ResizeHandle
impl Eq for ResizeHandle
Source§impl PartialEq for ResizeHandle
impl PartialEq for ResizeHandle
impl StructuralPartialEq for ResizeHandle
Auto Trait Implementations§
impl Freeze for ResizeHandle
impl RefUnwindSafe for ResizeHandle
impl Send for ResizeHandle
impl Sync for ResizeHandle
impl Unpin for ResizeHandle
impl UnsafeUnpin for ResizeHandle
impl UnwindSafe for ResizeHandle
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.