pub struct CrossRef {
pub source_file: String,
pub source_lang: &'static str,
pub target_module: String,
pub target_lang: &'static str,
pub ref_type: &'static str,
pub line: usize,
}Expand description
A cross-language reference found in source code.
Fields§
§source_file: StringFile containing the reference
source_lang: &'static strLanguage of the source file
target_module: StringTarget module/crate being referenced
target_lang: &'static strLanguage of the target
ref_type: &'static strType of reference (e.g., “pyo3_import”, “ctypes_usage”)
line: usizeLine number of the reference
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrossRef
impl RefUnwindSafe for CrossRef
impl Send for CrossRef
impl Sync for CrossRef
impl Unpin for CrossRef
impl UnsafeUnpin for CrossRef
impl UnwindSafe for CrossRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request