pub struct ArtifactToggles {
pub animated_covers: bool,
pub details: bool,
pub lyrics: bool,
pub lrc: bool,
pub video: bool,
pub webp: WebpEncodeSettings,
}Expand description
The per-song sidecar toggles resolved for a run: each embeds or writes one
artefact (animated WebP cover, .details.txt, .lyrics.txt, synced .lrc,
standalone .mp4). All default off.
Fields§
§animated_covers: bool§details: bool§lyrics: bool§lrc: bool§video: bool§webp: WebpEncodeSettingsThe animated-cover encode settings, folded into the embedded-cover hash
(see [embedded_art_hash]) so a settings change re-embeds existing covers.
Trait Implementations§
Source§impl Clone for ArtifactToggles
impl Clone for ArtifactToggles
Source§fn clone(&self) -> ArtifactToggles
fn clone(&self) -> ArtifactToggles
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 moreimpl Copy for ArtifactToggles
Source§impl Debug for ArtifactToggles
impl Debug for ArtifactToggles
Source§impl Default for ArtifactToggles
impl Default for ArtifactToggles
Source§fn default() -> ArtifactToggles
fn default() -> ArtifactToggles
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArtifactToggles
impl RefUnwindSafe for ArtifactToggles
impl Send for ArtifactToggles
impl Sync for ArtifactToggles
impl Unpin for ArtifactToggles
impl UnsafeUnpin for ArtifactToggles
impl UnwindSafe for ArtifactToggles
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