Enum object::read::coff::ImportName
source · pub enum ImportName<'data> {
Ordinal(u16),
Name(&'data [u8]),
}
Expand description
The name or ordinal to import from a DLL.
Variants§
Ordinal(u16)
Import by ordinal. Ordinarily this is a 1-based index.
Name(&'data [u8])
Import by name.
Trait Implementations§
source§impl<'data> Clone for ImportName<'data>
impl<'data> Clone for ImportName<'data>
source§fn clone(&self) -> ImportName<'data>
fn clone(&self) -> ImportName<'data>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'data> Debug for ImportName<'data>
impl<'data> Debug for ImportName<'data>
source§impl<'data> PartialEq for ImportName<'data>
impl<'data> PartialEq for ImportName<'data>
source§fn eq(&self, other: &ImportName<'data>) -> bool
fn eq(&self, other: &ImportName<'data>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'data> Copy for ImportName<'data>
impl<'data> Eq for ImportName<'data>
impl<'data> StructuralPartialEq for ImportName<'data>
Auto Trait Implementations§
impl<'data> Freeze for ImportName<'data>
impl<'data> RefUnwindSafe for ImportName<'data>
impl<'data> Send for ImportName<'data>
impl<'data> Sync for ImportName<'data>
impl<'data> Unpin for ImportName<'data>
impl<'data> UnwindSafe for ImportName<'data>
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)