rsbinder-macros 0.12.0

Procedural macros for rsbinder — define Binder interfaces as Rust traits, without .aidl.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use rsbinder::Parcelable;

#[derive(Parcelable)]
pub struct BareElements {
    pub tags: Option<Vec<String>>,
}

#[derive(Parcelable)]
pub struct WrappedElements {
    pub tags: Vec<Option<String>>,
}

#[derive(Parcelable)]
pub struct BareSlots {
    pub fds: [rsbinder::ParcelFileDescriptor; 3],
}

fn main() {}