Skip to main content

type_included

Function type_included 

Source
pub fn type_included(includes: &[String], item: &Item) -> bool
Expand description

Whether an item passes the type filter’s included types, in Eagle’s order and with its early answers: its own extension wins; otherwise the first included video or audio group decides by itself (so including both video and audio lets only videos through), a url entry takes bookmarks without a site, a site name its bookmarks, and the Office groups and font follow.