pub struct Export {
pub name: String,
pub kind: Offer,
}Expand description
One name the DLL this file is linked into offers to others, which is dllexport, or one it
is told to keep to itself, which is a hidden definition.
What a COFF object says either with is an option for the linker, -export:name, in a section
called .drectve that holds nothing but options and that the linker reads and then drops. A
variable is -export:name,data, which keeps the import library from writing a stub under the
plain name for it, since a jump is no use to somebody reading a variable. The list is in the
order clang writes it and the options are spelled the way it spells them, which is also what
gcc’s are, apart from the quotes gcc puts round each name.
Fields§
§name: StringThe name as the linker sees it.
kind: OfferWhat the linker is told about it.
Implementations§
Trait Implementations§
impl Eq for Export
impl StructuralPartialEq for Export
Auto Trait Implementations§
impl Freeze for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnsafeUnpin for Export
impl UnwindSafe for Export
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.