Struct puffin_imgui::ProfilerUi
source · pub struct ProfilerUi {
pub options: Options,
/* private fields */
}
Fields§
§options: Options
Implementations§
source§impl ProfilerUi
impl ProfilerUi
sourcepub fn global_frame_view(&self) -> &GlobalFrameView
pub fn global_frame_view(&self) -> &GlobalFrameView
The frames we are looking at.
sourcepub fn window(&mut self, ui: &Ui) -> bool
pub fn window(&mut self, ui: &Ui) -> bool
Show a imgui::Window
with the profiler contents.
If you want to control the window yourself, use Self::ui
instead.
sourcepub fn ui(&mut self, ui: &Ui)
pub fn ui(&mut self, ui: &Ui)
Show the profiler.
Call this from within an imgui::Window
, or use Self::window
instead.
Trait Implementations§
source§impl Default for ProfilerUi
impl Default for ProfilerUi
source§impl<'de> Deserialize<'de> for ProfilerUiwhere
ProfilerUi: Default,
impl<'de> Deserialize<'de> for ProfilerUiwhere ProfilerUi: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ProfilerUi
impl Send for ProfilerUi
impl Sync for ProfilerUi
impl Unpin for ProfilerUi
impl !UnwindSafe for ProfilerUi
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