pub struct LibSection {
pub stem: Option<String>,
pub extra: Table,
}Expand description
manifest 的 [lib] 段。
Fields§
§stem: Option<String>cdylib 文件名主干(平台无关,不含 lib 前缀与扩展名)。
extra: Table其它键,原样保留。
Trait Implementations§
Source§impl Clone for LibSection
impl Clone for LibSection
Source§impl Debug for LibSection
impl Debug for LibSection
Source§impl Default for LibSection
impl Default for LibSection
Source§impl<'de> Deserialize<'de> for LibSection
impl<'de> Deserialize<'de> for LibSection
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 LibSection
impl RefUnwindSafe for LibSection
impl Send for LibSection
impl Sync for LibSection
impl Unpin for LibSection
impl UnsafeUnpin for LibSection
impl UnwindSafe for LibSection
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