#[repr(C)]pub struct DebugState {Show 27 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 echo_driver_messages: bool,
pub show_overdraw: bool,
pub gpu_cache_dbg: bool,
pub texture_cache_dbg_clear_evicted: bool,
pub picture_caching_dbg: bool,
pub primitive_dbg: bool,
pub zoom_dbg: bool,
pub small_screen: bool,
pub disable_opaque_pass: bool,
pub disable_alpha_pass: bool,
pub disable_clip_masks: bool,
pub disable_text_prims: bool,
pub disable_gradient_prims: bool,
pub obscure_images: bool,
pub glyph_flashing: bool,
pub smart_profiler: bool,
pub invalidation_dbg: bool,
pub tile_cache_logging_dbg: bool,
pub profiler_capture: bool,
pub force_picture_invalidation: 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§render_target_dbg: bool§texture_cache_dbg: bool§gpu_time_queries: bool§gpu_sample_queries: bool§disable_batching: bool§epochs: bool§echo_driver_messages: bool§show_overdraw: bool§gpu_cache_dbg: bool§texture_cache_dbg_clear_evicted: bool§picture_caching_dbg: bool§primitive_dbg: bool§zoom_dbg: bool§small_screen: bool§disable_opaque_pass: bool§disable_alpha_pass: bool§disable_clip_masks: bool§disable_text_prims: bool§disable_gradient_prims: bool§obscure_images: bool§glyph_flashing: bool§smart_profiler: bool§invalidation_dbg: bool§tile_cache_logging_dbg: bool§profiler_capture: bool§force_picture_invalidation: boolTrait Implementations§
Source§impl Clone for DebugState
impl Clone for DebugState
Source§fn clone(&self) -> DebugState
fn clone(&self) -> DebugState
Returns a duplicate 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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more