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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MemoryUsage
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for MemoryUsage
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for MemoryUsage
[src]

impl Hash for MemoryUsage
[src]

[src]

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

1.3.0
[src]

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