itext 0.3.0

Safe rust bindings to the iText 7 PDF generation library written in Java
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[macro_export]
macro_rules! java_object {
    ($name:ident) => {
        pub struct $name<'a>(pub(crate) ::jni::objects::JObject<'a>);

        impl<'a> AsRef<::jni::objects::JObject<'a>> for $name<'a> {
            fn as_ref(&self) -> &::jni::objects::JObject<'a> {
                &self.0
            }
        }
    };
}