pub struct RawDefinition {
pub def_id: u32,
pub kind: DefKind,
pub visibility: u8,
pub is_macro_expansion: bool,
pub name: String,
pub path: String,
pub signature: Option<String>,
pub file: String,
pub start_line: u32,
pub start_col: u32,
pub end_line: u32,
pub end_col: u32,
}Expand description
Raw definition to be added to the index builder.
Fields§
§def_id: u32§kind: DefKind§visibility: u8§is_macro_expansion: bool§name: String§path: String§signature: Option<String>§file: String§start_line: u32§start_col: u32§end_line: u32§end_col: u32Trait Implementations§
Source§impl Clone for RawDefinition
impl Clone for RawDefinition
Auto Trait Implementations§
impl Forget for RawDefinition
impl Freeze for RawDefinition
impl Move for RawDefinition
impl RefUnwindSafe for RawDefinition
impl Send for RawDefinition
impl Sync for RawDefinition
impl Unpin for RawDefinition
impl UnsafeUnpin for RawDefinition
impl UnwindSafe for RawDefinition
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