pub struct Comdat {
    pub kind: ComdatKind,
    pub symbol: SymbolId,
    pub sections: Vec<SectionId>,
}
Expand description

A COMDAT section group.

Fields

kind: ComdatKind

The COMDAT selection kind.

This determines the way in which the linker resolves multiple definitions of the COMDAT sections.

symbol: SymbolId

The COMDAT symbol.

If this symbol is referenced, then all sections in the group will be included by the linker.

sections: Vec<SectionId>

The sections in the group.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.