Struct fcplug_build::Config
source · pub struct Config {
pub idl_file: PathBuf,
pub target_crate_dir: Option<PathBuf>,
pub go_root_path: Option<PathBuf>,
pub go_mod_parent: &'static str,
pub rust_unitstruct_impl: Option<UnitLikeStructPath>,
}Fields§
§idl_file: PathBuf§target_crate_dir: Option<PathBuf>Target crate directory for code generation
go_root_path: Option<PathBuf>§go_mod_parent: &'static str§rust_unitstruct_impl: Option<UnitLikeStructPath>Unit-like struct implementing two Rust traits, RustFfi and GoFfi
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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