Lines Matching refs:TestEnum
34 pub const ENUM_VALUES_TEST_ENUM: [TestEnum; 3] = [
35 TestEnum::A,
36 TestEnum::B,
37 TestEnum::C,
42 pub struct TestEnum(pub i8); struct
44 impl TestEnum { impl
66 impl std::fmt::Debug for TestEnum { implementation
75 impl<'a> flatbuffers::Follow<'a> for TestEnum { implementation
86 impl flatbuffers::Push for TestEnum { implementation
87 type Output = TestEnum;
94 impl flatbuffers::EndianScalar for TestEnum { implementation
108 impl<'a> flatbuffers::Verifiable for TestEnum { implementation
118 impl flatbuffers::SimpleToVerifyInSlice for TestEnum {} implementation
190 b: TestEnum, argument
191 c: &[TestEnum; 2],
210 pub fn b(&self) -> TestEnum { in b() argument
211 let mut mem = core::mem::MaybeUninit::<TestEnum>::uninit(); in b()
216 core::mem::size_of::<TestEnum>(), in b()
222 pub fn set_b(&mut self, x: TestEnum) { in set_b() argument
226 &x_le as *const TestEnum as *const u8, in set_b() constant
228 core::mem::size_of::<TestEnum>(), in set_b()
233 pub fn c(&'a self) -> flatbuffers::Array<'a, TestEnum, 2> { in c() argument
237 pub fn set_c(&mut self, x: &[TestEnum; 2]) { in set_c()
268 pub b: TestEnum,
269 pub c: [TestEnum; 2],