pub enum LayerPlacement {
Center,
Left,
Right,
Top,
Bottom,
Anchor(AnchorPlacement),
ContextPoint(ContextPoint),
Viewport(ViewportPlacement),
}Variants§
Center
Left
Right
Top
Bottom
Anchor(AnchorPlacement)
ContextPoint(ContextPoint)
A context request in viewport CSS pixels, belonging to Layer::anchor.
Viewport(ViewportPlacement)
Implementations§
Trait Implementations§
Source§impl Clone for LayerPlacement
impl Clone for LayerPlacement
impl Copy for LayerPlacement
Source§impl Debug for LayerPlacement
impl Debug for LayerPlacement
Source§impl Default for LayerPlacement
impl Default for LayerPlacement
Source§impl PartialEq for LayerPlacement
impl PartialEq for LayerPlacement
impl StructuralPartialEq for LayerPlacement
Auto Trait Implementations§
impl Freeze for LayerPlacement
impl RefUnwindSafe for LayerPlacement
impl Send for LayerPlacement
impl Sync for LayerPlacement
impl Unpin for LayerPlacement
impl UnsafeUnpin for LayerPlacement
impl UnwindSafe for LayerPlacement
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