pub struct IndexedDef<'a> {
pub id: GlobalDefId,
pub name: &'a str,
pub kind: ItemKind,
pub vis: VisKind,
pub has_value_ctor: bool,
}Expand description
Indexed definition summary surfaced by ItemDb for module children and associated items.
Fields§
§id: GlobalDefId§name: &'a str§kind: ItemKind§vis: VisKind§has_value_ctor: boolTrait Implementations§
Source§impl<'a> Clone for IndexedDef<'a>
impl<'a> Clone for IndexedDef<'a>
impl<'a> Copy for IndexedDef<'a>
Source§impl<'a> Debug for IndexedDef<'a>
impl<'a> Debug for IndexedDef<'a>
impl<'a> Eq for IndexedDef<'a>
Source§impl<'a> PartialEq for IndexedDef<'a>
impl<'a> PartialEq for IndexedDef<'a>
impl<'a> StructuralPartialEq for IndexedDef<'a>
Auto Trait Implementations§
impl<'a> Forget for IndexedDef<'a>
impl<'a> Freeze for IndexedDef<'a>
impl<'a> Move for IndexedDef<'a>
impl<'a> RefUnwindSafe for IndexedDef<'a>
impl<'a> Send for IndexedDef<'a>
impl<'a> Sync for IndexedDef<'a>
impl<'a> Unpin for IndexedDef<'a>
impl<'a> UnsafeUnpin for IndexedDef<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for IndexedDef<'a>where
&'a str: UnwindSafe,
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