pub struct Primitive();
Expand description

Helper struct for Java’s Primitives

Implementations

Create a new int[]

Create a new byte[]

Create a new long[]

Create a new float[]

Create a new double[]

Create a new char[]

Create a new short[]

Create a new boolean[]

Copy an int[] to a Vec.

Copy a byte[] to a Vec

Copy a long[] to a Vec

Copy a float[] to a Vec

Copy a double[] to a Vec

Copy a char[] to a Vec

Copy a short[] to a Vec

Copy a boolean[] to a Vec

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Look up the concrete type from the JVM.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.