pub struct CompileConfig<'a> {
pub src_path: &'a Path,
pub header_paths: Vec<&'a Path>,
pub parser_path: PathBuf,
pub scanner_path: Option<PathBuf>,
pub external_files: Option<&'a [PathBuf]>,
pub output_path: Option<PathBuf>,
pub flags: &'a [&'a str],
pub sanitize: bool,
pub name: String,
}
Fields§
§src_path: &'a Path
§header_paths: Vec<&'a Path>
§parser_path: PathBuf
§scanner_path: Option<PathBuf>
§external_files: Option<&'a [PathBuf]>
§output_path: Option<PathBuf>
§flags: &'a [&'a str]
§sanitize: bool
§name: String
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CompileConfig<'a>
impl<'a> RefUnwindSafe for CompileConfig<'a>
impl<'a> Send for CompileConfig<'a>
impl<'a> Sync for CompileConfig<'a>
impl<'a> Unpin for CompileConfig<'a>
impl<'a> UnwindSafe for CompileConfig<'a>
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> 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