pub struct OverlayEntry { /* private fields */ }Implementations§
Source§impl OverlayEntry
impl OverlayEntry
pub fn new(view: impl View + 'static) -> Self
pub fn anchor(self, anchor: Anchor) -> Self
pub fn placement(self, placement: Placement) -> Self
pub fn position(self, position: Position) -> Self
pub fn at(self, x: f32, y: f32) -> Self
pub fn layer(self, layer: OverlayLayer) -> Self
pub fn input_mode(self, mode: InputMode) -> Self
pub fn dismiss(self, dismiss: Dismiss) -> Self
pub fn transient(self, transient: bool) -> Self
pub fn offset(self, dx: f32, dy: f32) -> Self
pub fn overflow(self, overflow: OverlayOverflow) -> Self
Auto Trait Implementations§
impl !Freeze for OverlayEntry
impl !RefUnwindSafe for OverlayEntry
impl !Send for OverlayEntry
impl !Sync for OverlayEntry
impl !UnwindSafe for OverlayEntry
impl Unpin for OverlayEntry
impl UnsafeUnpin for OverlayEntry
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