Enum clang::MemoryUsage[][src]

#[repr(C)]
pub enum MemoryUsage { Ast, AstSideTables, ExternalAstSourceMalloc, ExternalAstSourceMMap, GlobalCodeCompletionResults, Identifiers, PreprocessingRecord, Preprocessor, PreprocessorHeaderSearch, Selectors, SourceManagerContentCache, SourceManagerDataStructures, SourceManagerMalloc, SourceManagerMMap, }

Indicates the usage category of a quantity of memory.

Variants

Expressions, declarations, and types.

Various tables used by the AST.

Memory allocated with malloc for external AST sources.

Memory allocated with mmap for external AST sources.

Cached global code completion results.

Identifiers.

The preprocessing record.

Memory allocated with malloc for the preprocessor.

Header search tables.

Selectors.

The content cache used by the source manager.

Data structures used by the source manager.

Memory allocated with malloc for the source manager.

Memory allocated with mmap for the source manager.

Trait Implementations

impl Copy for MemoryUsage
[src]

impl Clone for MemoryUsage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MemoryUsage
[src]

Formats the value using the given formatter. Read more

impl PartialEq for MemoryUsage
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MemoryUsage
[src]

impl Hash for MemoryUsage
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for MemoryUsage

impl Sync for MemoryUsage