pub struct ItemInfo {
pub name: String,
pub path: String,
pub kind: ItemKind,
pub visibility: Visibility,
pub span: Option<SpanInfo>,
}Expand description
Basic information about an item in the crate.
Fields§
§name: StringThe item’s name
path: StringThe full path to the item
kind: ItemKindWhat kind of item this is
visibility: VisibilityVisibility of the item
span: Option<SpanInfo>Span information (file, line, column)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemInfo
impl<'de> Deserialize<'de> for ItemInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ItemInfo
impl RefUnwindSafe for ItemInfo
impl Send for ItemInfo
impl Sync for ItemInfo
impl Unpin for ItemInfo
impl UnwindSafe for ItemInfo
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