[−][src]Struct megaui::Ui
Methods
impl Ui
[src]
pub fn new(style: Style) -> Ui
[src]
pub fn is_mouse_over(&self, mouse_position: Vector2) -> bool
[src]
pub fn active_window_focused(&self) -> bool
[src]
pub fn is_dragging(&self) -> bool
[src]
pub fn close_current_window(&mut self)
[src]
pub fn is_focused(&self, id: Id) -> bool
[src]
pub fn new_frame(&mut self)
[src]
pub fn render(&mut self, draw_list: &mut Vec<DrawCommand>)
[src]
pub fn end_frame(&mut self)
[src]
pub fn focus_window(&mut self, id: Id)
[src]
pub fn move_window(&mut self, id: Id, position: Vector2)
[src]
impl Ui
[src]
impl Ui
[src]
impl Ui
[src]
impl Ui
[src]
impl Ui
[src]
pub fn tabbar(
&mut self,
id: Id,
position: Vector2,
size: Vector2,
tabs: &'static [&'static str]
) -> u32
[src]
&mut self,
id: Id,
position: Vector2,
size: Vector2,
tabs: &'static [&'static str]
) -> u32
impl Ui
[src]
impl Ui
[src]
impl Ui
[src]
pub fn window<F: FnOnce(&mut Ui)>(
&mut self,
id: Id,
position: Vector2,
size: Vector2,
f: F
) -> bool
[src]
&mut self,
id: Id,
position: Vector2,
size: Vector2,
f: F
) -> bool
Trait Implementations
impl InputHandler for Ui
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,