#[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 moreSource§impl Debug for FloatingAttachToElement
impl Debug for FloatingAttachToElement
Source§impl Default for FloatingAttachToElement
impl Default for FloatingAttachToElement
Source§fn default() -> FloatingAttachToElement
fn default() -> FloatingAttachToElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for FloatingAttachToElement
impl PartialEq for FloatingAttachToElement
impl Copy for FloatingAttachToElement
impl Eq for FloatingAttachToElement
impl StructuralPartialEq for FloatingAttachToElement
Auto Trait Implementations§
impl Freeze for FloatingAttachToElement
impl RefUnwindSafe for FloatingAttachToElement
impl Send for FloatingAttachToElement
impl Sync for FloatingAttachToElement
impl Unpin for FloatingAttachToElement
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.