xdot 0.2.4

Parse graphviz’ xdot draw instructions
Documentation
#[macro_export]
macro_rules! impl_bitflags_accessors {
    ($cls: path, $( $flag: ident ),+ $(,)?) => {
        pastey::paste! {
            #[cfg(feature = "pyo3")]
            #[pyo3::pymethods]
            impl $cls {
                $(
                    #[getter]
                    fn [< get_ $flag >](&self) -> bool {
                        self.contains($cls::[< $flag:upper >])
                    }
                    #[setter]
                    fn [< set_ $flag >](&mut self, value: bool) {
                        self.set($cls::[< $flag:upper >], value);
                    }
                )+
            }
        }
    };
}