pub struct StaticLibrary {
pub signature: String,
pub members: Vec<ArchiveMember>,
pub symbol_index: Vec<(String, usize)>,
}Expand description
静态库文件结构
表示一个完整的静态库文件(.lib 文件),包含多个对象文件。 静态库用于将多个对象文件打包成一个文件,便于分发和链接。
Fields§
§signature: String库文件签名,通常为 “!
members: Vec<ArchiveMember>所有成员文件的集合
symbol_index: Vec<(String, usize)>符号索引表,用于快速查找符号
Trait Implementations§
Source§impl Clone for StaticLibrary
impl Clone for StaticLibrary
Source§fn clone(&self) -> StaticLibrary
fn clone(&self) -> StaticLibrary
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 StaticLibrary
impl Debug for StaticLibrary
Source§impl<'de> Deserialize<'de> for StaticLibrary
impl<'de> Deserialize<'de> for StaticLibrary
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
Auto Trait Implementations§
impl Freeze for StaticLibrary
impl RefUnwindSafe for StaticLibrary
impl Send for StaticLibrary
impl Sync for StaticLibrary
impl Unpin for StaticLibrary
impl UnwindSafe for StaticLibrary
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