Struct puffin_egui::ProfilerUi [−][src]
pub struct ProfilerUi { /* fields omitted */ }
Expand description
Contains settings for the profiler.
Implementations
impl ProfilerUi
[src]
impl ProfilerUi
[src]pub fn window(&mut self, ctx: &CtxRef) -> bool
[src]
pub fn window(&mut self, ctx: &CtxRef) -> bool
[src]Show an egui::Window
with the profiler contents.
If you want to control the window yourself, use Self::ui
instead.
Returns false
if the user closed the profile window.
pub fn ui(&mut self, ui: &mut Ui)
[src]
pub fn ui(&mut self, ui: &mut Ui)
[src]Show the profiler.
Call this from within an egui::Window
, or use Self::window
instead.
Trait Implementations
impl Clone for ProfilerUi
[src]
impl Clone for ProfilerUi
[src]fn clone(&self) -> ProfilerUi
[src]
fn clone(&self) -> ProfilerUi
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Default for ProfilerUi
[src]
impl Default for ProfilerUi
[src]fn default() -> ProfilerUi
[src]
fn default() -> ProfilerUi
[src]Returns the “default value” for a type. 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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> AnyMapTrait for T where
T: 'static + Any + Clone + Send + Sync,
[src]
T: 'static + Any + Clone + Send + Sync,