pub struct ClrHeader {
pub cb: u32,
pub major_runtime_version: u16,
pub minor_runtime_version: u16,
pub metadata_rva: u32,
pub metadata_size: u32,
pub flags: u32,
}Expand description
Legacy CLR header structure for backward compatibility.
Fields§
§cb: u32The total size of the header in bytes.
major_runtime_version: u16The major version of the CLR runtime.
minor_runtime_version: u16The minor version of the CLR runtime.
metadata_rva: u32The relative virtual address of the metadata.
metadata_size: u32The size of the metadata in bytes.
flags: u32Assembly flags, such as whether it is pure IL code.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClrHeader
impl RefUnwindSafe for ClrHeader
impl Send for ClrHeader
impl Sync for ClrHeader
impl Unpin for ClrHeader
impl UnsafeUnpin for ClrHeader
impl UnwindSafe for ClrHeader
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