Package web5.sdk.rust
Class RustBufferByReference
-
- All Implemented Interfaces:
-
com.sun.jna.NativeMapped
public final class RustBufferByReference extends ByReferenceThe equivalent of the
*mut RustBuffertype. Required for callbacks taking in an out pointer.Size is the sum of all values in the struct.
-
-
Field Summary
Fields Modifier and Type Field Description private Pointerpointer
-
Constructor Summary
Constructors Constructor Description RustBufferByReference()
-
Method Summary
Modifier and Type Method Description final UnitsetValue(RustBuffer.ByValue value)Set the pointed-to RustBufferto the given value.final RustBuffer.ByValuegetValue()Get a RustBuffer.ByValuefrom this reference.-
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative -
Methods inherited from class com.sun.jna.ptr.ByReference
toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setValue
final Unit setValue(RustBuffer.ByValue value)
Set the pointed-to
RustBufferto the given value.
-
getValue
final RustBuffer.ByValue getValue()
Get a
RustBuffer.ByValuefrom this reference.
-
-
-
-