Struct hotspots_parser::Element
source · pub struct Element {
pub name: String,
pub file: String,
pub line: usize,
/* private fields */
}
Expand description
Element represents a function or a method in a file.
Fields§
§name: String
Name of the function or method.
file: String
File where the function or method is located.
line: usize
Line where the function or method is located.
Trait Implementations§
source§impl PartialEq<Element> for Element
impl PartialEq<Element> for Element
impl Eq for Element
impl StructuralEq for Element
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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