pub struct ValueDecon {
pub key: TypeKey,
pub source: TypeRef,
pub leaves: Vec<UnfoldLeaf>,
}Expand description
A synthesized by-value data_class decomposition, produced by the language
adapter (which knows the per-field encoding — projections, enums, nested
classes) and handed over as
Decompositions::value_structs.
Its leaves
are LeafSource::Field leaves: each crosses the boundary as its own field
value and the foreign side reassembles the object (no Java object is built
on the Rust side).
Fields§
§key: TypeKeyCanonical key of the value struct (the DeconId::Default key).
source: TypeRefThe struct type (owned) the leaves decompose.
leaves: Vec<UnfoldLeaf>Field-access leaves in foreign-signature / fromParts order.
Auto Trait Implementations§
impl !Send for ValueDecon
impl !Sync for ValueDecon
impl Freeze for ValueDecon
impl RefUnwindSafe for ValueDecon
impl Unpin for ValueDecon
impl UnsafeUnpin for ValueDecon
impl UnwindSafe for ValueDecon
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more