pub struct CreateProject<'cp> {
pub input: &'cp Path,
pub package: &'cp str,
pub edition: &'cp str,
pub output: &'cp Path,
}Expand description
Parameters needed for generating a set of files for a new Rust project
Fields§
§input: &'cp Pathpath to idl input file
package: &'cp stroverride package name from file
edition: &'cp strrust edition. default=2018
output: &'cp Pathoutput directory.
Auto Trait Implementations§
impl<'cp> Freeze for CreateProject<'cp>
impl<'cp> RefUnwindSafe for CreateProject<'cp>
impl<'cp> Send for CreateProject<'cp>
impl<'cp> Sync for CreateProject<'cp>
impl<'cp> Unpin for CreateProject<'cp>
impl<'cp> UnwindSafe for CreateProject<'cp>
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