pub struct PipelineConfig {
pub inject_stubs: bool,
pub conditional_strategy: ConditionalStrategy,
pub neutralize_gcc: bool,
pub strip_attributes: bool,
pub neutralize_macros: bool,
pub force_platform: Option<String>,
}Expand description
Configuration for the processing pipeline
Fields§
§inject_stubs: boolWhether to inject header stubs
conditional_strategy: ConditionalStrategyStrategy for handling preprocessor conditionals
neutralize_gcc: boolWhether to neutralize GCC extensions
strip_attributes: boolWhether to strip platform-specific attributes
neutralize_macros: boolWhether to neutralize kernel macros
force_platform: Option<String>Optional platform ID to force (bypasses detection)
Implementations§
Source§impl PipelineConfig
impl PipelineConfig
Sourcepub fn for_kernel_code() -> Self
pub fn for_kernel_code() -> Self
Configuration optimized for kernel code
Trait Implementations§
Source§impl Clone for PipelineConfig
impl Clone for PipelineConfig
Source§fn clone(&self) -> PipelineConfig
fn clone(&self) -> PipelineConfig
Returns a duplicate 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 PipelineConfig
impl Debug for PipelineConfig
Auto Trait Implementations§
impl Freeze for PipelineConfig
impl RefUnwindSafe for PipelineConfig
impl Send for PipelineConfig
impl Sync for PipelineConfig
impl Unpin for PipelineConfig
impl UnwindSafe for PipelineConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more