pub struct YamlOptions {
pub include_bounds: bool,
pub include_ids: bool,
pub include_ignored: bool,
pub mask_props: Vec<String>,
pub depth: Option<usize>,
pub max_lines: Option<usize>,
pub refs: bool,
}Expand description
What write() includes.
Fields§
§include_bounds: boolA trailing @ x,y wxh, rounded to whole logical pixels.
include_ids: boolTest ids and widget ids.
include_ignored: boolUnnamed generics instead of hoisting their children.
mask_props: Vec<String>Props written as ***.
depth: Option<usize>Levels below the top-level entries; Some(0) writes only those.
max_lines: Option<usize>The most lines written; the rest are cut with - ....
refs: bool[ref=eN] on every interactive node.
Trait Implementations§
Source§impl Clone for YamlOptions
impl Clone for YamlOptions
Source§impl Debug for YamlOptions
impl Debug for YamlOptions
Source§impl Default for YamlOptions
impl Default for YamlOptions
impl Eq for YamlOptions
Source§impl PartialEq for YamlOptions
impl PartialEq for YamlOptions
impl StructuralPartialEq for YamlOptions
Auto Trait Implementations§
impl Forget for YamlOptions
impl Freeze for YamlOptions
impl Move for YamlOptions
impl RefUnwindSafe for YamlOptions
impl Send for YamlOptionswhere
RawVecInner: Send,
impl Sync for YamlOptionswhere
RawVecInner: Sync,
impl Unpin for YamlOptions
impl UnsafeUnpin for YamlOptions
impl UnwindSafe for YamlOptionswhere
RawVecInner: UnwindSafe,
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