Struct maturin::pyproject_toml::CargoTarget
source · pub struct CargoTarget {
pub name: String,
pub kind: Option<String>,
}
Expand description
Cargo compile target
Fields§
§name: String
Name as given in the Cargo.toml
or generated from the file name
kind: Option<String>
Kind of target (“bin”, “lib”)
Trait Implementations§
source§impl Clone for CargoTarget
impl Clone for CargoTarget
source§fn clone(&self) -> CargoTarget
fn clone(&self) -> CargoTarget
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 CargoTarget
impl Debug for CargoTarget
source§impl Default for CargoTarget
impl Default for CargoTarget
source§fn default() -> CargoTarget
fn default() -> CargoTarget
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CargoTarget
impl<'de> Deserialize<'de> for CargoTarget
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 CargoTarget
impl RefUnwindSafe for CargoTarget
impl Send for CargoTarget
impl Sync for CargoTarget
impl Unpin for CargoTarget
impl UnwindSafe for CargoTarget
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