pub enum Bottleneck {
Gpu,
Interface,
}Expand description
Where the time of a slow frame goes.
Variants§
Gpu
Drawing: the GPU cannot fill the window in time, or there is none.
Interface
Rebuilding and laying out the UI, on the processor.
Trait Implementations§
Source§impl Clone for Bottleneck
impl Clone for Bottleneck
Source§fn clone(&self) -> Bottleneck
fn clone(&self) -> Bottleneck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Bottleneck
Source§impl Debug for Bottleneck
impl Debug for Bottleneck
impl Eq for Bottleneck
Source§impl PartialEq for Bottleneck
impl PartialEq for Bottleneck
impl StructuralPartialEq for Bottleneck
Auto Trait Implementations§
impl Freeze for Bottleneck
impl RefUnwindSafe for Bottleneck
impl Send for Bottleneck
impl Sync for Bottleneck
impl Unpin for Bottleneck
impl UnsafeUnpin for Bottleneck
impl UnwindSafe for Bottleneck
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