Struct anitomy_sys::Options
source · #[repr(C)]pub struct Options { /* private fields */ }
Expand description
The options used by Anitomy to determine how to parse a filename.
Implementations§
source§impl Options
impl Options
sourcepub unsafe fn allowed_delimiters<S: AsRef<CStr>>(
&mut self,
allowed_delimiters: S
)
pub unsafe fn allowed_delimiters<S: AsRef<CStr>>(
&mut self,
allowed_delimiters: S
)
Set the allowed delimiters.
sourcepub unsafe fn ignored_strings<S: AsRef<CStr>>(&mut self, ignored_strings: &[S])
pub unsafe fn ignored_strings<S: AsRef<CStr>>(&mut self, ignored_strings: &[S])
Set the strings to ignore.
sourcepub unsafe fn parse_episode_number(&mut self, parse_episode_number: bool)
pub unsafe fn parse_episode_number(&mut self, parse_episode_number: bool)
Set whether to attempt to parse the episode number.
sourcepub unsafe fn parse_episode_title(&mut self, parse_episode_title: bool)
pub unsafe fn parse_episode_title(&mut self, parse_episode_title: bool)
Set whether to attempt to parse the episode title.
sourcepub unsafe fn parse_file_extension(&mut self, parse_file_extension: bool)
pub unsafe fn parse_file_extension(&mut self, parse_file_extension: bool)
Set whether to attempt to parse the file extension.
sourcepub unsafe fn parse_release_group(&mut self, parse_release_group: bool)
pub unsafe fn parse_release_group(&mut self, parse_release_group: bool)
Set whether to attempt to parse the release group.