struct DisplayFmt {
wrapper: DisplayFmtWrapper,
perm: DisplayFmtPermission,
padding: DisplayFmtPadding,
accessed: DisplayFmtAccess,
}
Expand description
All parameters to determine how the tree is formatted.
Fields§
§wrapper: DisplayFmtWrapper
§perm: DisplayFmtPermission
§padding: DisplayFmtPadding
§accessed: DisplayFmtAccess
Implementations§
Source§impl DisplayFmt
impl DisplayFmt
Sourcefn print_perm(&self, perm: Option<LocationState>) -> String
fn print_perm(&self, perm: Option<LocationState>) -> String
Print the permission with the format
Res
/ Re*
/ Act
/ Frz
/ Dis
for accessed locations
and ?Res
/?Re*
/?Act
/?Frz
/?Dis
for unaccessed locations.
Sourcefn print_tag(&self, tag: BorTag, name: &Option<String>) -> String
fn print_tag(&self, tag: BorTag, name: &Option<String>) -> String
Print the tag with the format <XYZ>
if the tag is unnamed,
and <XYZ=name>
if the tag is named.
Sourcefn print_protector(&self, protector: Option<&ProtectorKind>) -> &'static str
fn print_protector(&self, protector: Option<&ProtectorKind>) -> &'static str
Print extra text if the tag has a protector.
Auto Trait Implementations§
impl Freeze for DisplayFmt
impl RefUnwindSafe for DisplayFmt
impl Send for DisplayFmt
impl Sync for DisplayFmt
impl Unpin for DisplayFmt
impl UnwindSafe for DisplayFmt
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: 248 bytes