pub struct Module<'tu> { /* private fields */ }
Expand description
A collection of headers.
Implementations§
Source§impl<'tu> Module<'tu>
impl<'tu> Module<'tu>
Sourcepub fn get_name(&self) -> String
pub fn get_name(&self) -> String
Returns the name of this module (e.g., vector
for the std.vector
module).
Sourcepub fn get_full_name(&self) -> String
pub fn get_full_name(&self) -> String
Returns the full name of this module (e.g., std.vector
for the std.vector
module).
Sourcepub fn get_parent(&self) -> Option<Module<'tu>>
pub fn get_parent(&self) -> Option<Module<'tu>>
Returns the parent of this module, if any.
Sourcepub fn get_top_level_headers(&self) -> Vec<File<'tu>>
pub fn get_top_level_headers(&self) -> Vec<File<'tu>>
Returns the top-level headers in this module.
Trait Implementations§
impl<'tu> Copy for Module<'tu>
impl<'tu> Eq for Module<'tu>
Auto Trait Implementations§
impl<'tu> Freeze for Module<'tu>
impl<'tu> RefUnwindSafe for Module<'tu>
impl<'tu> !Send for Module<'tu>
impl<'tu> !Sync for Module<'tu>
impl<'tu> Unpin for Module<'tu>
impl<'tu> UnwindSafe for Module<'tu>
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