public final static class Some extends Option_TypeZ {
public final Type some;
private Some(long ptr, bindings.LDKCOption_TypeZ.Some obj) {
public final static class Some extends Option_TypeZ {
public final Type some;
private Some(long ptr, bindings.LDKCOption_TypeZ.Some obj) {
public final static class None extends Option_TypeZ {
private None(long ptr, bindings.LDKCOption_TypeZ.None obj) {
super(null, ptr);
public final static class None extends Option_TypeZ {
private None(long ptr, bindings.LDKCOption_TypeZ.None obj) {
super(null, ptr);
/**
* Creates a new COption_TypeZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
/**
* Creates a new COption_TypeZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.