pub enum Anchor {
Last,
Parent,
Root,
}Expand description
Controls to which node the floater is anchored.
Variants§
Last
The floater is attached relative to the node created last.
Parent
The floater is attached relative to the current node (= parent of new nodes).
Root
The floater is attached relative to the root node (= usually the viewport).
Trait Implementations§
impl Copy for Anchor
impl Eq 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 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