pub struct RustdocParser { /* private fields */ }Expand description
@acp:summary “Parses Rust doc comments” @acp:lock normal
Implementations§
Source§impl RustdocParser
impl RustdocParser
Sourcepub fn extensions(&self) -> &RustDocExtensions
pub fn extensions(&self) -> &RustDocExtensions
@acp:summary “Gets the parsed Rust extensions”
Trait Implementations§
Source§impl Default for RustdocParser
impl Default for RustdocParser
Source§impl DocStandardParser for RustdocParser
impl DocStandardParser for RustdocParser
Source§fn to_suggestions(
&self,
parsed: &ParsedDocumentation,
target: &str,
line: usize,
) -> Vec<Suggestion>
fn to_suggestions( &self, parsed: &ParsedDocumentation, target: &str, line: usize, ) -> Vec<Suggestion>
@acp:summary “Converts parsed Rustdoc to ACP suggestions with Rust-specific handling”
Source§fn parse(&self, raw_comment: &str) -> ParsedDocumentation
fn parse(&self, raw_comment: &str) -> ParsedDocumentation
@acp:summary “Parses a raw doc comment into structured documentation”
Source§fn standard_name(&self) -> &'static str
fn standard_name(&self) -> &'static str
@acp:summary “Gets the standard name”
Auto Trait Implementations§
impl Freeze for RustdocParser
impl RefUnwindSafe for RustdocParser
impl Send for RustdocParser
impl Sync for RustdocParser
impl Unpin for RustdocParser
impl UnwindSafe for RustdocParser
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> 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 more