woboq / qmetaobject-rs

Integrate Qml and Rust by building the QMetaObject at compile time.
MIT License
648 stars 89 forks source link

Impl From<QString>, From<QByteArray> for Vec<u8> #261

Closed Ayush1325 closed 1 month ago

Ayush1325 commented 2 years ago

I basically needed implementation of Into<Vec<u8>> so that I can construct CString::new() from QString.

I am not sure whether this is the best way to achieve this so I would like someone else's input on this.

Ayush1325 commented 2 years ago

I see, I will check out a better way to achieve this.