-
I have struct that has one field with u8. pub struct _AudioInfo {
/// Number of channels
pub channels: u32,
/// sampling rate in hz
pub sample_rate: u32,
/// len in s
pub len: u64,
/// bit 16 or 24 bit
pub bits: u8,
} The generated code is not working as apparently into_dart is not impl for u8. Changing to u16 also gives same error, but changing to u32 or u64 makes it go away. Is this a bug or a feature/known limitation?
|
Beta Was this translation helpful? Give feedback.
Answered by
fzyzcjy
Apr 29, 2022
Replies: 1 comment 3 replies
-
Sounds like a bug? What about making it an issue Btw same issue here:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sagudev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sounds like a bug? What about making it an issue
Btw same issue here:
#421 (comment)
@dbsxdbsx