/// Returns the flag contained in the event, if any.
Returns the flag contained in the event, if any.
Returns the flag contained in the event if any .
pub fn flag(self) -> Option<OrientedFlag> {
        match self {
            Self::Flag(oriented_flag) => Some(oriented_flag),
            Self::NonOrientable => None,
        }
    }
pub fn flag ( self ) -> Option < OrientedFlag > { match self { Self :: Flag ( oriented_flag ) => Some ( oriented_flag ) , Self :: NonOrientable => None , } }
Returns the flag contained in the event, if any.
Returns the flag contained in the event if any .
self