[−][src]Struct pyoxidizerlib::py_packaging::resource::ExtensionModuleData
Represents an extension module built during packaging.
This is like a light version of ExtensionModule
.
Fields
name: String
The module name this extension module is providing.
init_fn: String
Name of the C function initializing this extension module.
extension_file_suffix: String
Filename suffix to use when writing extension module data.
extension_data: Option<Vec<u8>>
File data for linked extension module.
object_file_data: Vec<Vec<u8>>
File data for object files linked together to produce this extension module.
is_package: bool
Whether this extension module is a package.
libraries: Vec<String>
Names of libraries that we need to link when building extension module.
library_dirs: Vec<PathBuf>
Paths to directories holding libraries needed for extension module.
Methods
impl ExtensionModuleData
[src]
pub fn file_name(&self) -> String
[src]
The file name (without parent components) this extension module should be realized with.
pub fn package_parts(&self) -> Vec<String>
[src]
Returns the part strings constituting the package name.
pub fn add_to_file_manifest(
&self,
manifest: &mut FileManifest,
prefix: &str
) -> Result<()>
[src]
&self,
manifest: &mut FileManifest,
prefix: &str
) -> Result<()>
Trait Implementations
impl Clone for ExtensionModuleData
[src]
fn clone(&self) -> ExtensionModuleData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExtensionModuleData
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtensionModuleData
impl Send for ExtensionModuleData
impl Sync for ExtensionModuleData
impl Unpin for ExtensionModuleData
impl UnwindSafe for ExtensionModuleData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,