Struct pyo3_build_config::BuildFlags
source · [−]Expand description
A list of python interpreter compile-time preprocessor defines that
we will pick up and pass to rustc via --cfg=py_sys_config={varname}
;
this allows using them conditional cfg attributes in the .rs files, so
#[cfg(py_sys_config="{varname}")]
is the equivalent of #ifdef {varname}
in C.
see Misc/SpecialBuilds.txt in the python source for what these mean.
Tuple Fields
0: HashSet<BuildFlag>
Implementations
sourceimpl BuildFlags
impl BuildFlags
Trait Implementations
sourceimpl Clone for BuildFlags
impl Clone for BuildFlags
sourcefn clone(&self) -> BuildFlags
fn clone(&self) -> BuildFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for BuildFlags
impl Default for BuildFlags
sourcefn default() -> BuildFlags
fn default() -> BuildFlags
Returns the “default value” for a type. Read more
sourceimpl Display for BuildFlags
impl Display for BuildFlags
sourceimpl FromStr for BuildFlags
impl FromStr for BuildFlags
Auto Trait Implementations
impl RefUnwindSafe for BuildFlags
impl Send for BuildFlags
impl Sync for BuildFlags
impl Unpin for BuildFlags
impl UnwindSafe for BuildFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more