pub enum Anchor {
At(Point),
Center,
}Expand description
Where an OverlaySpec is positioned within the window.
Variants§
At(Point)
Place the overlay’s top-left at an absolute window point (e.g. a menu dropped below its button).
Center
Center the overlay in the window (e.g. a modal dialog).
Trait Implementations§
impl Copy for Anchor
impl StructuralPartialEq for Anchor
Auto Trait Implementations§
impl Freeze for Anchor
impl RefUnwindSafe for Anchor
impl Send for Anchor
impl Sync for Anchor
impl Unpin for Anchor
impl UnsafeUnpin for Anchor
impl UnwindSafe for Anchor
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