mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 16:02:00 +00:00
Optional Scalars support for Rust (#6034)
* First draft of rust optionals * Code cleanup around ftBool and ftVectorOfBool * Tests for Rust optional scalars * test bools too Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -1488,7 +1488,7 @@ pub struct MonsterArgs<'a> {
|
||||
pub testhashu32_fnv1a: u32,
|
||||
pub testhashs64_fnv1a: i64,
|
||||
pub testhashu64_fnv1a: u64,
|
||||
pub testarrayofbools: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , bool>>>,
|
||||
pub testarrayofbools: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , bool>>>,
|
||||
pub testf: f32,
|
||||
pub testf2: f32,
|
||||
pub testf3: f32,
|
||||
|
||||
Reference in New Issue
Block a user