pub fn get_containing_crate_name_ranges(
    demangled_full_symbol: &str
) -> Vec<Range<usize>, Global>
Expand description

Same as get_containing_crate_name(), but returns the substring Ranges of where the parent crate names are located in the given demangled_full_symbol string.

Examples

  • <*const T as core::fmt::Debug>::fmt -> [12..16]
  • <alloc::boxed::Box<T>>::into_unique -> [1..6]
  • <framebuffer::VirtualFramebuffer as display::Display>::fill_rectangle -> [1..13, 37..44]
  • keyboard::init -> [0..8]