pub struct RustdocParseOutput {
pub crate_name: Option<String>,
pub crate_version: Option<String>,
pub format_version: u32,
pub includes_private: bool,
pub symbols: Vec<Symbol>,
pub doc_blocks: Vec<DocBlock>,
pub trait_impls: HashMap<String, Vec<String>>,
}Expand description
Output from parsing rustdoc JSON.
Fields§
§crate_name: Option<String>§crate_version: Option<String>§format_version: u32§includes_private: bool§symbols: Vec<Symbol>§doc_blocks: Vec<DocBlock>§trait_impls: HashMap<String, Vec<String>>Maps type qualified names to trait paths they implement (same-crate only).
Trait Implementations§
Source§impl Clone for RustdocParseOutput
impl Clone for RustdocParseOutput
Source§fn clone(&self) -> RustdocParseOutput
fn clone(&self) -> RustdocParseOutput
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 RustdocParseOutput
impl RefUnwindSafe for RustdocParseOutput
impl Send for RustdocParseOutput
impl Sync for RustdocParseOutput
impl Unpin for RustdocParseOutput
impl UnsafeUnpin for RustdocParseOutput
impl UnwindSafe for RustdocParseOutput
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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