pub struct DebugState {Show 13 fields
pub profiler_dbg: bool,
pub render_target_dbg: bool,
pub texture_cache_dbg: bool,
pub gpu_time_queries: bool,
pub gpu_sample_queries: bool,
pub disable_batching: bool,
pub epochs: bool,
pub compact_profiler: bool,
pub echo_driver_messages: bool,
pub new_frame_indicator: bool,
pub new_scene_indicator: bool,
pub show_overdraw: bool,
pub gpu_cache_dbg: bool,
}
Expand description
Toggles webrender debug flags (will make stuff appear on the screen that you might not want to - used for debugging purposes)
Fields§
§profiler_dbg: bool
Toggles webrender::DebugFlags::PROFILER_DBG
render_target_dbg: bool
Toggles webrender::DebugFlags::RENDER_TARGET_DBG
texture_cache_dbg: bool
Toggles webrender::DebugFlags::TEXTURE_CACHE_DBG
gpu_time_queries: bool
Toggles webrender::DebugFlags::GPU_TIME_QUERIES
gpu_sample_queries: bool
Toggles webrender::DebugFlags::GPU_SAMPLE_QUERIES
disable_batching: bool
Toggles webrender::DebugFlags::DISABLE_BATCHING
epochs: bool
Toggles webrender::DebugFlags::EPOCHS
compact_profiler: bool
Toggles webrender::DebugFlags::COMPACT_PROFILER
echo_driver_messages: bool
Toggles webrender::DebugFlags::ECHO_DRIVER_MESSAGES
new_frame_indicator: bool
Toggles webrender::DebugFlags::NEW_FRAME_INDICATOR
new_scene_indicator: bool
Toggles webrender::DebugFlags::NEW_SCENE_INDICATOR
show_overdraw: bool
Toggles webrender::DebugFlags::SHOW_OVERDRAW
gpu_cache_dbg: bool
Toggles webrender::DebugFlagsFGPU_CACHE_DBG
Trait Implementations§
Source§impl Clone for DebugState
impl Clone for DebugState
Source§fn clone(&self) -> DebugState
fn clone(&self) -> DebugState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DebugState
impl Debug for DebugState
Source§impl Default for DebugState
impl Default for DebugState
Source§fn default() -> DebugState
fn default() -> DebugState
Returns the “default value” for a type. Read more
Source§impl Hash for DebugState
impl Hash for DebugState
Source§impl Ord for DebugState
impl Ord for DebugState
Source§fn cmp(&self, other: &DebugState) -> Ordering
fn cmp(&self, other: &DebugState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DebugState
impl PartialEq for DebugState
Source§impl PartialOrd for DebugState
impl PartialOrd for DebugState
impl Copy for DebugState
impl Eq for DebugState
impl StructuralPartialEq for DebugState
Auto Trait Implementations§
impl Freeze for DebugState
impl RefUnwindSafe for DebugState
impl Send for DebugState
impl Sync for DebugState
impl Unpin for DebugState
impl UnwindSafe for DebugState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)