pub struct DataDirectory {
pub virtual_address: u32,
pub size: u32,
}Expand description
数据目录结构
包含 PE 文件中各种数据目录的信息,如导入表、导出表、 资源表等。每个数据目录项包含一个RVA和大小。
Fields§
§virtual_address: u32数据目录的相对虚拟地址(RVA)
size: u32数据目录的大小(以字节为单位)
Implementations§
Trait Implementations§
Source§impl Clone for DataDirectory
impl Clone for DataDirectory
Source§fn clone(&self) -> DataDirectory
fn clone(&self) -> DataDirectory
Returns a duplicate 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 Debug for DataDirectory
impl Debug for DataDirectory
Source§impl Default for DataDirectory
impl Default for DataDirectory
Source§impl<'de> Deserialize<'de> for DataDirectory
impl<'de> Deserialize<'de> for DataDirectory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DataDirectory
impl Serialize for DataDirectory
impl Copy for DataDirectory
Auto Trait Implementations§
impl Freeze for DataDirectory
impl RefUnwindSafe for DataDirectory
impl Send for DataDirectory
impl Sync for DataDirectory
impl Unpin for DataDirectory
impl UnwindSafe for DataDirectory
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