pub struct SymbolName<'a> {
bytes: &'a [u8],
demangled: Option<Demangle<'a>>,
}
Expand description
A wrapper around a symbol name to provide ergonomic accessors to the demangled name, the raw bytes, the raw string, etc.
Fields§
§bytes: &'a [u8]
§demangled: Option<Demangle<'a>>
Implementations§
Source§impl<'a> SymbolName<'a>
impl<'a> SymbolName<'a>
Trait Implementations§
Source§impl<'a> Debug for SymbolName<'a>
impl<'a> Debug for SymbolName<'a>
Auto Trait Implementations§
impl<'a> Freeze for SymbolName<'a>
impl<'a> RefUnwindSafe for SymbolName<'a>
impl<'a> Send for SymbolName<'a>
impl<'a> Sync for SymbolName<'a>
impl<'a> Unpin for SymbolName<'a>
impl<'a> UnwindSafe for SymbolName<'a>
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more