pub enum Position {
Identity,
Stack,
Dodge,
Fill,
Jitter {
x_amount: f64,
y_amount: f64,
},
}Expand description
How multiple layers at the same x position are arranged.
Variants§
Identity
No adjustment (overlay).
Stack
Stack layers vertically.
Dodge
Place layers side by side.
Fill
Stack + normalize to 100%.
Jitter
Add random displacement.
Trait Implementations§
impl Copy for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnsafeUnpin for Position
impl UnwindSafe for Position
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