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.
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more