pub struct DeclSummary {
pub name: String,
pub kind: DeclKind,
pub has_body: bool,
pub num_univ_params: usize,
}Expand description
A summary of information about a declaration, useful for diagnostics.
Fields§
§name: StringThe name of the declaration.
kind: DeclKindThe kind of declaration.
has_body: boolWhether the declaration has a body/proof.
num_univ_params: usizeNumber of universe parameters.
Trait Implementations§
Source§impl Clone for DeclSummary
impl Clone for DeclSummary
Auto Trait Implementations§
impl Forget for DeclSummary
impl Freeze for DeclSummary
impl Move for DeclSummary
impl RefUnwindSafe for DeclSummary
impl Send for DeclSummary
impl Sync for DeclSummary
impl Unpin for DeclSummary
impl UnsafeUnpin for DeclSummary
impl UnwindSafe for DeclSummary
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