pub struct ConstantSummary {
pub name: Name,
pub kind: ConstantKind,
pub num_level_params: usize,
pub is_polymorphic: bool,
}Expand description
A summary of a declaration’s key properties.
Fields§
§name: NameThe name of the constant.
kind: ConstantKindThe kind of constant.
num_level_params: usizeNumber of universe level parameters.
is_polymorphic: boolWhether this is universe-polymorphic.
Trait Implementations§
Source§impl Clone for ConstantSummary
impl Clone for ConstantSummary
Source§fn clone(&self) -> ConstantSummary
fn clone(&self) -> ConstantSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConstantSummary
impl RefUnwindSafe for ConstantSummary
impl Send for ConstantSummary
impl Sync for ConstantSummary
impl Unpin for ConstantSummary
impl UnsafeUnpin for ConstantSummary
impl UnwindSafe for ConstantSummary
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