Skip to main content

parse_motion_preference

Function parse_motion_preference 

Source
pub fn parse_motion_preference(value: &str) -> Result<MotionPreference, String>
Expand description

Parse a Gallery motion preference from its stable CLI spelling.

ยงErrors

Returns an explicit diagnostic for values other than normal, reduced, or none.