pub struct TypeCrawler { /* private fields */ }Implementations§
Source§impl TypeCrawler
impl TypeCrawler
pub fn new(env: Env) -> Result<Self, TypeCrawlerError>
pub fn from_clang(clang: Clang, env: Env) -> Self
pub fn add_include_path<P: AsRef<Path>>( &mut self, path: P, ) -> Result<(), AddIncludePathError>
pub fn parse_file<P: AsRef<Path>>( &self, file_path: P, ) -> Result<Types, ParseError>
pub fn print_file_ast<P: AsRef<Path>>( &self, file_path: P, ) -> Result<(), ParseError>
Auto Trait Implementations§
impl !Send for TypeCrawler
impl !Sync for TypeCrawler
impl Freeze for TypeCrawler
impl RefUnwindSafe for TypeCrawler
impl Unpin for TypeCrawler
impl UnsafeUnpin for TypeCrawler
impl UnwindSafe for TypeCrawler
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