pub struct Union<'a> {
pub _tab: Table<'a>,
}
Expand description
A union is a complex type with children in Field
By default ids in the type vector refer to the offsets in the children
optionally typeIds provides an indirection between the child offset and the type id
for each child typeIds[offset]
is the id used in the type vector
Fields
_tab: Table<'a>
Implementations
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args UnionArgs<'args>
) -> WIPOffset<Union<'bldr>>
Trait Implementations
Runs the verifier for this type, assuming its at position pos
in the verifier’s buffer.
Should not need to be called directly. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Union<'a>
impl<'a> UnwindSafe for Union<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more