pub struct JsonTreeWrappingConfig {
pub value_when_root: JsonTreeWrapping,
pub value_with_expanded_parent: JsonTreeWrapping,
pub value_in_collapsed_root: JsonTreeWrapping,
}
Expand description
Container for text wrapping configurations of JSON elements in various scenarios and visual states.
Fields§
§value_when_root: JsonTreeWrapping
Text wrapping configuration for when the entire JSON document is a non-recursive JSON value.
value_with_expanded_parent: JsonTreeWrapping
Text wrapping configuration for a non-recursive JSON value within an expanded parent array/object.
value_in_collapsed_root: JsonTreeWrapping
Text wrapping configuration for a non-recursive JSON value that is a direct child of a collapsed root array/object.
Trait Implementations§
Source§impl Clone for JsonTreeWrappingConfig
impl Clone for JsonTreeWrappingConfig
Source§fn clone(&self) -> JsonTreeWrappingConfig
fn clone(&self) -> JsonTreeWrappingConfig
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 JsonTreeWrappingConfig
impl Debug for JsonTreeWrappingConfig
Source§impl Default for JsonTreeWrappingConfig
impl Default for JsonTreeWrappingConfig
Source§fn default() -> JsonTreeWrappingConfig
fn default() -> JsonTreeWrappingConfig
Returns the “default value” for a type. Read more
impl Copy for JsonTreeWrappingConfig
Auto Trait Implementations§
impl Freeze for JsonTreeWrappingConfig
impl RefUnwindSafe for JsonTreeWrappingConfig
impl Send for JsonTreeWrappingConfig
impl Sync for JsonTreeWrappingConfig
impl Unpin for JsonTreeWrappingConfig
impl UnwindSafe for JsonTreeWrappingConfig
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