#[non_exhaustive]pub struct SummaryEntry {
pub kind: CatalogKind,
pub name: String,
pub label: String,
pub n_cells: i64,
}Expand description
An entry of a Summary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: CatalogKindClass, method or function.
name: StringThe full name.
label: StringIts label.
n_cells: i64The cells of the function that are stored (0 for a class or a method).
Trait Implementations§
Source§impl Clone for SummaryEntry
impl Clone for SummaryEntry
Source§impl Debug for SummaryEntry
impl Debug for SummaryEntry
impl Eq for SummaryEntry
Source§impl PartialEq for SummaryEntry
impl PartialEq for SummaryEntry
impl StructuralPartialEq for SummaryEntry
Auto Trait Implementations§
impl Forget for SummaryEntry
impl Freeze for SummaryEntry
impl Move for SummaryEntry
impl RefUnwindSafe for SummaryEntry
impl Send for SummaryEntry
impl Sync for SummaryEntry
impl Unpin for SummaryEntry
impl UnsafeUnpin for SummaryEntry
impl UnwindSafe for SummaryEntry
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