pub struct TbdVersion1 {
pub archs: Vec<String>,
pub platform: 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 exports: Vec<TbdVersion12ExportSection>,
}Expand description
Version 1 of the TBD structure.
Fields§
§archs: Vec<String>The list of architecture slices that are supported by this file.
armv7, arm64, etc.
platform: StringSpecifies the platform (macosx, ios, etc).
install_name: StringPath of installed library.
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.
Defaults to 0.
objc_constraint: Option<String>Objective-C constraint.
Defaults to none.
exports: Vec<TbdVersion12ExportSection>Export sections.
Trait Implementations§
Source§impl Clone for TbdVersion1
impl Clone for TbdVersion1
Source§fn clone(&self) -> TbdVersion1
fn clone(&self) -> TbdVersion1
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 TbdVersion1
impl Debug for TbdVersion1
Source§impl<'de> Deserialize<'de> for TbdVersion1
impl<'de> Deserialize<'de> for TbdVersion1
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 TbdVersion1
impl RefUnwindSafe for TbdVersion1
impl Send for TbdVersion1
impl Sync for TbdVersion1
impl Unpin for TbdVersion1
impl UnwindSafe for TbdVersion1
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