#[derive(TryFromIntObjectForBitflags)]
derive macro to generate TryFrom<&Object> for bitflags struct type
TryFrom<&Object>