Lines Matching refs:Vec3
150 pub struct Vec3 { struct
155 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
156 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
157 type Inner = &'a Vec3;
160 <&'a Vec3>::follow(buf, loc) in follow()
164 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
165 type Inner = &'a Vec3;
168 flatbuffers::follow_cast_ref::<Vec3>(buf, loc) in follow()
171 impl<'b> flatbuffers::Push for Vec3 { implementation
172 type Output = Vec3;
176 ::std::slice::from_raw_parts(self as *const Vec3 as *const u8, Self::size()) in push() constant
181 impl<'b> flatbuffers::Push for &'b Vec3 { implementation
182 type Output = Vec3;
187 ::std::slice::from_raw_parts(*self as *const Vec3 as *const u8, Self::size()) in push() constant
194 impl Vec3 { implementation
196 Vec3 { in new()
266 pub fn pos(&'a self) -> Option<&'a Vec3> { in pos() argument
267 self._tab.get::<Vec3>(Monster::VT_POS, None) in pos()
314 pub pos: Option<&'a Vec3>,
346 pub fn add_pos(&mut self, pos: &'b Vec3) { in add_pos() argument
347 self.fbb_.push_slot_always::<&Vec3>(Monster::VT_POS, pos); in add_pos()