Struct pyproject_toml::BuildSystem
source · pub struct BuildSystem {
pub requires: Vec<Requirement>,
pub build_backend: Option<String>,
pub backend_path: Option<Vec<String>>,
}
Expand description
The [build-system]
section of a pyproject.toml as specified in PEP 517
Fields§
§requires: Vec<Requirement>
PEP 508 dependencies required to execute the build system
build_backend: Option<String>
A string naming a Python object that will be used to perform the build
backend_path: Option<Vec<String>>
Specify that their backend code is hosted in-tree, this key contains a list of directories
Trait Implementations§
source§impl Clone for BuildSystem
impl Clone for BuildSystem
source§fn clone(&self) -> BuildSystem
fn clone(&self) -> BuildSystem
Returns a copy 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 BuildSystem
impl Debug for BuildSystem
source§impl<'de> Deserialize<'de> for BuildSystem
impl<'de> Deserialize<'de> for BuildSystem
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
source§impl PartialEq for BuildSystem
impl PartialEq for BuildSystem
source§fn eq(&self, other: &BuildSystem) -> bool
fn eq(&self, other: &BuildSystem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BuildSystem
impl Serialize for BuildSystem
impl Eq for BuildSystem
impl StructuralPartialEq for BuildSystem
Auto Trait Implementations§
impl RefUnwindSafe for BuildSystem
impl Send for BuildSystem
impl Sync for BuildSystem
impl Unpin for BuildSystem
impl UnwindSafe for BuildSystem
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.