pub struct FileType(/* private fields */);
Expand description
Types of object files supported by the ELF specification
Implementations§
Source§impl FileType
impl FileType
Sourcepub const Relocatable: Self
pub const Relocatable: Self
Relocatable object file
Sourcepub const Executable: Self
pub const Executable: Self
A file with an entry point that can be executed
Dynamic shared library
Sourcepub const MinOSDefined: Self
pub const MinOSDefined: Self
Beginning of range (inclusive) for OS-specific values
Sourcepub const MaxOSDefined: Self
pub const MaxOSDefined: Self
End of range (inclusive) for OS-specific values
Sourcepub const MinArchDefined: Self
pub const MinArchDefined: Self
Beginning of range (inclusive) for CPU architecture-specific values
Sourcepub const MaxArchDefined: Self
pub const MaxArchDefined: Self
Beginning of range (inclusive) for CPU architecture-specific values
Trait Implementations§
Source§impl Ord for FileType
impl Ord for FileType
Source§impl PartialOrd for FileType
impl PartialOrd for FileType
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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