[][src]Struct ritual_common::BuildScriptData

pub struct BuildScriptData {
    pub cpp_build_config: CppBuildConfig,
    pub cpp_wrapper_lib_name: String,
    pub known_targets: Vec<LibraryTarget>,
}

This type contains data serialized by the generator and placed to the generated crate's directory. The build script reads and uses this value.

Fields

cpp_build_config: CppBuildConfig

Information required to build the C++ wrapper library

cpp_wrapper_lib_name: String

Name of C++ wrapper library

known_targets: Vec<LibraryTarget>

Environments the generator was used in

Trait Implementations

impl Clone for BuildScriptData[src]

impl Debug for BuildScriptData[src]

impl<'de> Deserialize<'de> for BuildScriptData[src]

impl Serialize for BuildScriptData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Inspect for T where
    T: Debug
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.