pub enum DisplayStyle {
Short,
Normal,
Long,
}Expand description
Denote the style for displaying the symbol.
Variants§
Short
Omit enclosing namespaces to get a shorter name.
Normal
Omit crate hashes and const value types. This matches rustc-demangle’s {} format.
Long
Show crate hashes and const value types. This matches rustc-demangle’s {:#} format. Note that even with this
style, impl paths are still omitted.
Trait Implementations§
Source§impl Ord for Style
impl Ord for Style
Source§impl PartialOrd for Style
impl PartialOrd for Style
impl Copy for Style
impl Eq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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