[][src]Function transit_model::netex_utils::get_only_frame

pub fn get_only_frame<'a>(
    frames: &'a Frames<'a>,
    frame_type: FrameType
) -> Result<&'a Element>

Extract a frame of type frame_type from the map of frames. This function fails if none or more than one frame is found.