pub struct UiPopupConfig {
pub width: f32,
pub height: f32,
pub gap: f32,
pub padding: f32,
}Fields§
§width: f32Popup width in pixels.
height: f32Popup height in pixels (0 = hug content).
gap: f32Gap between anchor and popup in pixels.
padding: f32Padding inside the popup panel.
Trait Implementations§
Source§impl Clone for UiPopupConfig
impl Clone for UiPopupConfig
Source§impl Debug for UiPopupConfig
impl Debug for UiPopupConfig
Auto Trait Implementations§
impl Forget for UiPopupConfig
impl Freeze for UiPopupConfig
impl Move for UiPopupConfig
impl RefUnwindSafe for UiPopupConfig
impl Send for UiPopupConfig
impl Sync for UiPopupConfig
impl Unpin for UiPopupConfig
impl UnsafeUnpin for UiPopupConfig
impl UnwindSafe for UiPopupConfig
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