pub enum ResizeGravity {
Side(ResizeGravitySide),
Coords {
x: f64,
y: f64,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ResizeGravity
impl Clone for ResizeGravity
Source§fn clone(&self) -> ResizeGravity
fn clone(&self) -> ResizeGravity
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 ResizeGravity
impl Debug for ResizeGravity
Source§impl Serialize for ResizeGravity
impl Serialize for ResizeGravity
impl Copy for ResizeGravity
Auto Trait Implementations§
impl Freeze for ResizeGravity
impl RefUnwindSafe for ResizeGravity
impl Send for ResizeGravity
impl Sync for ResizeGravity
impl Unpin for ResizeGravity
impl UnwindSafe for ResizeGravity
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