pub struct Popup { /* private fields */ }Implementations§
Source§impl Popup
impl Popup
pub fn new(ui: &mut Ui<'_, '_>, width: f32, height: f32) -> Popup
pub fn show(self, ui: &mut Ui<'_, '_>, context: impl FnMut(&mut Ui<'_, '_>))
pub fn set_rect(&mut self, rect: Rect)
pub fn rect(&self) -> &Rect
pub fn popup_style() -> ClickStyle
pub fn update_buffer(&mut self, ui: &mut Ui<'_, '_>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Popup
impl !RefUnwindSafe for Popup
impl !Send for Popup
impl !Sync for Popup
impl Unpin for Popup
impl !UnwindSafe for Popup
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