[][src]Struct clang::source::Module

pub struct Module<'tu> { /* fields omitted */ }

A collection of headers.

Implementations

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]

impl<'tu> Copy for Module<'tu>[src]

impl<'tu> Debug for Module<'tu>[src]

impl<'tu> Eq for Module<'tu>[src]

impl<'tu> PartialEq<Module<'tu>> for Module<'tu>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.