pub struct HeaderFileGenerator { /* private fields */ }Expand description
Generator of head file, use it to generate a header file and then include it in user codes.
Use only if you just want to generate a header file, and do the linking job yourself, or you should use Builder instead.
Examples:
use optee_utee_build::{HeaderFileGenerator, TaConfig, RustEdition};
const UUID: &str = "26509cec-4a2b-4935-87ab-762d89fbf0b0";
let ta_config = TaConfig::new_default(UUID, "0.1.0", "example")?;
let codes = HeaderFileGenerator::new(RustEdition::Before2024).generate(&ta_config)?;Implementations§
Auto Trait Implementations§
impl Freeze for HeaderFileGenerator
impl RefUnwindSafe for HeaderFileGenerator
impl !Send for HeaderFileGenerator
impl !Sync for HeaderFileGenerator
impl Unpin for HeaderFileGenerator
impl UnwindSafe for HeaderFileGenerator
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