Struct miri::borrow_tracker::tree_borrows::diagnostics::DisplayFmtWrapper
source · struct DisplayFmtWrapper {
top: char,
bot: char,
warning_text: &'static str,
}
Expand description
Pretty-printing details
Example:
DisplayFmtWrapper {
top: '>',
bot: '<',
warning_text: "Some tags have been hidden",
}
will wrap the entire text with
>>>>>>>>>>>>>>>>>>>>>>>>>>
Some tags have been hidden
[ main display here ]
<<<<<<<<<<<<<<<<<<<<<<<<<<
Fields§
§top: char
Character repeated to make the upper border.
bot: char
Character repeated to make the lower border.
warning_text: &'static str
Warning about some tags (unnamed) being hidden.
Auto Trait Implementations§
impl RefUnwindSafe for DisplayFmtWrapper
impl Send for DisplayFmtWrapper
impl Sync for DisplayFmtWrapper
impl Unpin for DisplayFmtWrapper
impl UnwindSafe for DisplayFmtWrapper
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes