Struct re_dev_tools::build_search_index::ingest::cpp::Visitor
source · struct Visitor<'a> {
ctx: &'a Context,
base_path: Utf8PathBuf,
visited: HashSet<String>,
}
Fields§
§ctx: &'a Context
§base_path: Utf8PathBuf
§visited: HashSet<String>
Set of visited refid
Implementations§
source§impl Visitor<'_>
impl Visitor<'_>
fn push( &mut self, id: &str, name: String, description: String, uri: impl Display, )
fn visit_root(&mut self) -> Result<()>
fn visit_children(&mut self, id: &str, children: Children<'_, '_>) -> Result<()>
fn visit_namespace_document(&mut self, doc: &Document<'_>) -> Result<()>
fn visit_innerclass_document(&mut self, doc: &Document<'_>) -> Result<()>
fn visit_memberdef(&mut self, parent_id: &str, node: Node<'_, '_>) -> Result<()>
Auto Trait Implementations§
impl<'a> Freeze for Visitor<'a>
impl<'a> !RefUnwindSafe for Visitor<'a>
impl<'a> !Send for Visitor<'a>
impl<'a> !Sync for Visitor<'a>
impl<'a> Unpin for Visitor<'a>
impl<'a> !UnwindSafe for Visitor<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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