pub struct TbdVersion2 {
pub archs: Vec<String>,
pub uuids: Vec<String>,
pub platform: String,
pub flags: Vec<String>,
pub install_name: String,
pub current_version: Option<String>,
pub compatibility_version: Option<String>,
pub swift_version: Option<String>,
pub objc_constraint: Option<String>,
pub parent_umbrella: Option<String>,
pub exports: Vec<TbdVersion12ExportSection>,
pub undefineds: Vec<TbdVersion2UndefinedsSection>,
}Expand description
Version 2 of the TBD data structure.
Fields§
§archs: Vec<String>The list of architecture slices that are supported by this file.
uuids: Vec<String>List of architecture and UUID pairs.
platform: StringSpecifies the paltform (macosx, ios, etc).
flags: Vec<String>§install_name: String§current_version: Option<String>Current version of library.
Defaults to 1.0.
compatibility_version: Option<String>Compatibility version of library.
Defaults to 1.0.
swift_version: Option<String>Swift version of library.
objc_constraint: Option<String>Objective-C constraint.
parent_umbrella: Option<String>§exports: Vec<TbdVersion12ExportSection>Export sections.
undefineds: Vec<TbdVersion2UndefinedsSection>Undefineds sections.
Trait Implementations§
Source§impl Clone for TbdVersion2
impl Clone for TbdVersion2
Source§fn clone(&self) -> TbdVersion2
fn clone(&self) -> TbdVersion2
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 TbdVersion2
impl Debug for TbdVersion2
Source§impl<'de> Deserialize<'de> for TbdVersion2
impl<'de> Deserialize<'de> for TbdVersion2
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 TbdVersion2
impl RefUnwindSafe for TbdVersion2
impl Send for TbdVersion2
impl Sync for TbdVersion2
impl Unpin for TbdVersion2
impl UnwindSafe for TbdVersion2
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