#[repr(u8)]pub enum FloatingAttachToElement {
None = 0,
Parent = 1,
ElementWithId = 2,
Root = 3,
}
Expand description
Defines how a floating element is attached to other elements.
Variants§
None = 0
The floating element is not attached to any other element.
Parent = 1
The floating element is attached to its parent element.
ElementWithId = 2
The floating element is attached to a specific element identified by an ID.
Root = 3
The floating element is attached to the root of the layout.
Trait Implementations§
Source§impl Clone for FloatingAttachToElement
impl Clone for FloatingAttachToElement
Source§fn clone(&self) -> FloatingAttachToElement
fn clone(&self) -> FloatingAttachToElement
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 moreAuto Trait Implementations§
impl Freeze for FloatingAttachToElement
impl RefUnwindSafe for FloatingAttachToElement
impl Send for FloatingAttachToElement
impl Sync for FloatingAttachToElement
impl Unpin for FloatingAttachToElement
impl UnwindSafe for FloatingAttachToElement
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