#[repr(C)]pub struct Feature {
pub tag: Tag,
pub value: u32,
pub start: u32,
pub end: u32,
}Expand description
A feature tag with an accompanying range specifying on which subslice of
shapes input it should be applied.
Fields§
§tag: Tag§value: u32§start: u32§end: u32Implementations§
Trait Implementations§
source§impl FromStr for Feature
impl FromStr for Feature
source§fn from_str(s: &str) -> Result<Self, Self::Err>
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a Feature form a string.
Possible values:
kern-> kern .. 1+kern-> kern .. 1-kern-> kern .. 0kern=0-> kern .. 0kern=1-> kern .. 1aalt=2-> altr .. 2kern[]-> kern .. 1kern[:]-> kern .. 1kern[5:]-> kern 5.. 1kern[:5]-> kern ..=5 1kern[3:5]-> kern 3..=5 1kern[3]-> kern 3..=4 1aalt[3:5]=2-> kern 3..=5 1