Crate j4rs

source ·
Expand description

§j4rs

crates.io Maven Central Build

j4rs stands for ‘Java for Rust’ and allows effortless calls to Java code from Rust and vice-versa.

Please see the README for more details

Re-exports§

Modules§

Structs§

  • A classpath entry.
  • A Java instance Instances contain global Java references and can be sent to other threads
  • A receiver for Java Instances.
  • A Java Option.
  • Holds the assets for the JVM
  • A builder for Jvm
  • Represents a Jar artifact that resides in the local storage. It can be deployed in order to be loaded and used by j4rs by calling the JVM::deploy_artifact method.
  • Represents an Artifact that can be fetched by a remote Maven repository. It can loaded and used by j4rs by calling the JVM::deploy_artifact method.
  • A repository from which Java artifacts can be fetched.
  • Contains Maven settings and configuration

Enums§

  • Struct that carries an argument that is used for method invocations in Java.
  • Represents default, known Classes in Java. Can be used as class argument in Jvm#java_list, etc.
  • Represents Java’s null. Use this to create null Objects. E.g.:

Functions§

Type Aliases§