bitflags! {
pub struct ElementCategory: u32 {
const Animation = 1 << 0;
const BasicShape = 1 << 1;
const Container = 1 << 2;
const Descriptive = 1 << 3;
const FilterPrimitive = 1 << 4;
const Gradient = 1 << 5;
const Graphics = 1 << 6;
const GraphicsReferencing = 1 << 7;
const LightSource = 1 << 8;
const NeverRendered = 1 << 9;
const PaintServer = 1 << 10;
const Renderable = 1 << 11;
const Shape = 1 << 12;
const Structural = 1 << 13;
const StructurallyExternal = 1 << 14;
const TextContent = 1 << 15;
const TextContentChild = 1 << 16;
const TransferFunction = 1 << 17;
const Uncategorised = 1 << 18;
}
}
bitflags! {
pub struct ElementInfo: u32 {
const NonRendering = 1 << 0;
const Legacy = 1 << 1;
}
}