Skip to content

Make pilota.rust_wrapper_arc annotation wrapper Arc outside #126

@Millione

Description

@Millione

Feature Request

Motivation

Can pilota.rust_wrapper_arc annotation support wrapper Arc like this:

struct B {
  1: required list<string> a(pilota.rust_wrapper_arc="inner"),
  2: required list<string> b(pilota.rust_wrapper_arc="outer"),
}

Generated:

pub struct B {
  a: ::std::collections::Vec<::std::sync::Arc<::pilota::FastStr>>,
  b: ::std::sync::Arc<::std::collections::Vec<::pilota::FastStr>>,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions