pub struct JavaBackend;Trait Implementations§
Source§impl Backend for JavaBackend
impl Backend for JavaBackend
Source§fn capabilities(&self) -> Capabilities
fn capabilities(&self) -> Capabilities
What this backend supports.
Source§fn generate_bindings(
&self,
api: &ApiSurface,
config: &AlefConfig,
) -> Result<Vec<GeneratedFile>>
fn generate_bindings( &self, api: &ApiSurface, config: &AlefConfig, ) -> Result<Vec<GeneratedFile>>
Generate binding source code.
Source§fn generate_public_api(
&self,
api: &ApiSurface,
config: &AlefConfig,
) -> Result<Vec<GeneratedFile>>
fn generate_public_api( &self, api: &ApiSurface, config: &AlefConfig, ) -> Result<Vec<GeneratedFile>>
Generate language-native public API wrappers. Optional — default returns empty.
Source§fn build_config(&self) -> Option<BuildConfig>
fn build_config(&self) -> Option<BuildConfig>
Build configuration for this backend. Returns
None if build is not supported.Source§fn generate_type_stubs(
&self,
_api: &ApiSurface,
_config: &AlefConfig,
) -> Result<Vec<GeneratedFile>, Error>
fn generate_type_stubs( &self, _api: &ApiSurface, _config: &AlefConfig, ) -> Result<Vec<GeneratedFile>, Error>
Generate type stubs (.pyi, .rbs, .d.ts). Optional — default returns empty.
Source§fn generate_scaffold(
&self,
_api: &ApiSurface,
_config: &AlefConfig,
) -> Result<Vec<GeneratedFile>, Error>
fn generate_scaffold( &self, _api: &ApiSurface, _config: &AlefConfig, ) -> Result<Vec<GeneratedFile>, Error>
Generate package scaffolding. Optional — default returns empty.
Auto Trait Implementations§
impl Freeze for JavaBackend
impl RefUnwindSafe for JavaBackend
impl Send for JavaBackend
impl Sync for JavaBackend
impl Unpin for JavaBackend
impl UnsafeUnpin for JavaBackend
impl UnwindSafe for JavaBackend
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