pub struct GenerateOptions {
pub source: Utf8PathBuf,
pub out_dir: Utf8PathBuf,
pub format: bool,
pub crate_filter: Option<String>,
}Expand description
Options for generating Java bindings
Fields§
§source: Utf8PathBufPath to the source file (UDL or library)
out_dir: Utf8PathBufDirectory to write generated files
format: boolWhether to format generated code (currently not implemented)
crate_filter: Option<String>Optional crate filter - only generate bindings for this crate
Auto Trait Implementations§
impl Freeze for GenerateOptions
impl RefUnwindSafe for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnsafeUnpin for GenerateOptions
impl UnwindSafe for GenerateOptions
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