pub struct InspectorConfig {
pub show_bounds: bool,
pub show_ids: bool,
pub show_classes: bool,
pub show_rect: bool,
pub highlight_color: Color,
}Expand description
Inspector configuration
Fields§
§show_bounds: boolShow bounding boxes
show_ids: boolShow widget IDs
show_classes: boolShow classes
show_rect: boolShow rect info
highlight_color: ColorHighlight color
Trait Implementations§
Source§impl Clone for InspectorConfig
impl Clone for InspectorConfig
Source§fn clone(&self) -> InspectorConfig
fn clone(&self) -> InspectorConfig
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 InspectorConfig
impl Debug for InspectorConfig
Auto Trait Implementations§
impl Freeze for InspectorConfig
impl RefUnwindSafe for InspectorConfig
impl Send for InspectorConfig
impl Sync for InspectorConfig
impl Unpin for InspectorConfig
impl UnsafeUnpin for InspectorConfig
impl UnwindSafe for InspectorConfig
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