pub struct DotnetLibrary { /* private fields */ }Available on crate feature
unstable-plugins only.Expand description
Code generation pipeline for .NET plugins (reverse interop).
Analogous to RustLibrary but takes a
ForeignInventory describing types and functions exposed by a .NET
assembly rather than to one.
Implementations§
Source§impl DotnetLibrary
impl DotnetLibrary
pub fn new(inventory: ForeignInventory) -> Self
Available on crate feature
unstable-plugins or docsrs only.pub fn builder(inventory: ForeignInventory) -> DotnetLibraryBuilder
Available on crate feature
unstable-plugins or docsrs only.Auto Trait Implementations§
impl !Freeze for DotnetLibrary
impl !RefUnwindSafe for DotnetLibrary
impl !Send for DotnetLibrary
impl !Sync for DotnetLibrary
impl Unpin for DotnetLibrary
impl UnsafeUnpin for DotnetLibrary
impl !UnwindSafe for DotnetLibrary
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