pub struct LibraryOutput {
pub bindings_crate: PathBuf,
pub cpp_generated: PathBuf,
pub plugin_descriptor: PathBuf,
pub host_module: String,
pub cpp_prefix: String,
pub kind: LibraryKind,
}Expand description
Where one library’s generated code goes. The game’s library is compiled into the Rusteal plugin; a Rusteal plugin’s library into the plugin’s own module, with its own bindings crate.
Fields§
§bindings_crate: PathBufThe generated bindings crate.
cpp_generated: PathBufThe generated C++ wrappers, compiled into host_module.
plugin_descriptor: PathBufThe descriptor of the plugin host_module belongs to: it must list
the engine plugins the enabled modules come from.
host_module: StringThe UE module the C++ wrappers are compiled into.
cpp_prefix: StringPrefix of the generated C++ symbols (see CodegenContext::cpp_prefix).
kind: LibraryKindWhere the library runs: an editor library also gets the engine’s editor-only functions.
Auto Trait Implementations§
impl Freeze for LibraryOutput
impl RefUnwindSafe for LibraryOutput
impl Send for LibraryOutput
impl Sync for LibraryOutput
impl Unpin for LibraryOutput
impl UnsafeUnpin for LibraryOutput
impl UnwindSafe for LibraryOutput
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