Enum gpui2::OverlayFitMode
source · pub enum OverlayFitMode {
SnapToWindow,
SwitchAnchor,
None,
}
Variants§
Trait Implementations§
source§impl Clone for OverlayFitMode
impl Clone for OverlayFitMode
source§fn clone(&self) -> OverlayFitMode
fn clone(&self) -> OverlayFitMode
Returns a copy 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 moreimpl Copy for OverlayFitMode
Auto Trait Implementations§
impl RefUnwindSafe for OverlayFitMode
impl Send for OverlayFitMode
impl Sync for OverlayFitMode
impl Unpin for OverlayFitMode
impl UnwindSafe for OverlayFitMode
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