pub enum OverlayChildLocation {
NearestOverlay,
RootOverlay,
}Expand description
The location of the Overlay that an OverlayPortal renders its overlay child on.
This is typically used in OverlayPortal.
Variants§
NearestOverlay
The OverlayPortal renders its overlay child on the closest ancestor Overlay
above the widget tree.
RootOverlay
The OverlayPortal renders its overlay child on the root Overlay above the
widget tree.
In case of multi-view apps, the root Overlay refers to the first Overlay below the
View.
Trait Implementations§
Source§impl Clone for OverlayChildLocation
impl Clone for OverlayChildLocation
impl Copy for OverlayChildLocation
Source§impl Debug for OverlayChildLocation
impl Debug for OverlayChildLocation
impl Eq for OverlayChildLocation
Source§impl PartialEq for OverlayChildLocation
impl PartialEq for OverlayChildLocation
impl StructuralPartialEq for OverlayChildLocation
Auto Trait Implementations§
impl Forget for OverlayChildLocation
impl Freeze for OverlayChildLocation
impl Move for OverlayChildLocation
impl RefUnwindSafe for OverlayChildLocation
impl Send for OverlayChildLocation
impl Sync for OverlayChildLocation
impl Unpin for OverlayChildLocation
impl UnsafeUnpin for OverlayChildLocation
impl UnwindSafe for OverlayChildLocation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.