[−][src]Struct clang::source::Module
A collection of headers.
Methods
impl<'tu> Module<'tu>
[src]
pub fn get_name(&self) -> String
[src]
Returns the name of this module (e.g., vector
for the std.vector
module).
pub fn get_full_name(&self) -> String
[src]
Returns the full name of this module (e.g., std.vector
for the std.vector
module).
pub fn get_parent(&self) -> Option<Module<'tu>>
[src]
Returns the parent of this module, if any.
pub fn get_file(&self) -> File<'tu>
[src]
Returns the AST file this module came from.
pub fn get_top_level_headers(&self) -> Vec<File<'tu>>
[src]
Returns the top-level headers in this module.
pub fn is_system(&self) -> bool
[src]
Returns whether this module is a system module.
Trait Implementations
impl<'tu> Clone for Module<'tu>
[src]
fn clone(&self) -> Module<'tu>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'tu> Eq for Module<'tu>
[src]
impl<'tu> Copy for Module<'tu>
[src]
impl<'tu> PartialEq<Module<'tu>> for Module<'tu>
[src]
fn eq(&self, other: &Module<'tu>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl<'tu> Debug for Module<'tu>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,