Package web5.sdk.rust

Class RustBufferByReference

  • All Implemented Interfaces:
    com.sun.jna.NativeMapped

    
    public final class RustBufferByReference
    extends ByReference
                        

    The equivalent of the *mut RustBuffer type. Required for callbacks taking in an out pointer.

    Size is the sum of all values in the struct.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Pointer pointer
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit setValue(RustBuffer.ByValue value) Set the pointed-to RustBuffer to the given value.
      final RustBuffer.ByValue getValue() Get a RustBuffer.ByValue from 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