Struct egui_json_tree::JsonTreeResponse
source · pub struct JsonTreeResponse { /* private fields */ }
Expand description
The response from showing a JsonTree
.
Implementations§
source§impl JsonTreeResponse
impl JsonTreeResponse
sourcepub fn reset_expanded(&self, ui: &mut Ui)
pub fn reset_expanded(&self, ui: &mut Ui)
For the JsonTree
that provided this response,
resets the expanded state for all of its arrays/objects to respect the default_expand
setting.
Call this whenever the default_expand
setting changes,
and/or you when wish to reset any manually collapsed/expanded arrays and objects to respect this setting.
Auto Trait Implementations§
impl Freeze for JsonTreeResponse
impl RefUnwindSafe for JsonTreeResponse
impl Send for JsonTreeResponse
impl Sync for JsonTreeResponse
impl Unpin for JsonTreeResponse
impl UnwindSafe for JsonTreeResponse
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