pub struct MetadataRewriteProcessor { /* private fields */ }Implementations§
Source§impl MetadataRewriteProcessor
impl MetadataRewriteProcessor
Sourcepub fn from_rule(
rule: MetadataRewriteRule,
) -> Result<Self, RewriteProcessorError>
pub fn from_rule( rule: MetadataRewriteRule, ) -> Result<Self, RewriteProcessorError>
Create a new metadata processor from a rule
Sourcepub fn process_track_name(
&self,
track_name: &str,
) -> Result<String, RewriteProcessorError>
pub fn process_track_name( &self, track_name: &str, ) -> Result<String, RewriteProcessorError>
Apply rules to track metadata
Sourcepub fn process_artist_name(
&self,
artist_name: &str,
) -> Result<String, RewriteProcessorError>
pub fn process_artist_name( &self, artist_name: &str, ) -> Result<String, RewriteProcessorError>
Apply rules to artist metadata
Sourcepub fn process_album_name(
&self,
album_name: &str,
) -> Result<String, RewriteProcessorError>
pub fn process_album_name( &self, album_name: &str, ) -> Result<String, RewriteProcessorError>
Apply rules to album metadata
Sourcepub fn process_album_artist_name(
&self,
album_artist_name: &str,
) -> Result<String, RewriteProcessorError>
pub fn process_album_artist_name( &self, album_artist_name: &str, ) -> Result<String, RewriteProcessorError>
Apply rules to album artist metadata
Trait Implementations§
Source§impl Clone for MetadataRewriteProcessor
impl Clone for MetadataRewriteProcessor
Source§fn clone(&self) -> MetadataRewriteProcessor
fn clone(&self) -> MetadataRewriteProcessor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MetadataRewriteProcessor
impl RefUnwindSafe for MetadataRewriteProcessor
impl Send for MetadataRewriteProcessor
impl Sync for MetadataRewriteProcessor
impl Unpin for MetadataRewriteProcessor
impl UnsafeUnpin for MetadataRewriteProcessor
impl UnwindSafe for MetadataRewriteProcessor
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