pub struct PmmSceneMediaPathPatch {
pub audio_path: Option<String>,
pub background_video_path: Option<String>,
pub background_image_path: Option<String>,
}Expand description
Lossless source-byte patch export for decoded scene media paths (audio / background video / background image) in PMMv2 document settings. Clones the manifest’s source_bytes and overwrites only the exact 256-byte fixed path regions recorded via the new *_path_offset fields in PmmDocumentSettingsSummary. Only fields with Some(…) are patched. Uses write_pmm_fixed_sjis_to_slice to preserve 256-byte length and NUL room. Byte length is preserved. Requires source bytes and PMMv2 global/document settings summary. This is a narrow exporter-prep step and does not implement full semantic PMM export (which remains unfinished).
Fields§
§audio_path: Option<String>§background_video_path: Option<String>§background_image_path: Option<String>Trait Implementations§
Source§impl Clone for PmmSceneMediaPathPatch
impl Clone for PmmSceneMediaPathPatch
Source§fn clone(&self) -> PmmSceneMediaPathPatch
fn clone(&self) -> PmmSceneMediaPathPatch
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 moreSource§impl Debug for PmmSceneMediaPathPatch
impl Debug for PmmSceneMediaPathPatch
Source§impl Default for PmmSceneMediaPathPatch
impl Default for PmmSceneMediaPathPatch
Source§fn default() -> PmmSceneMediaPathPatch
fn default() -> PmmSceneMediaPathPatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PmmSceneMediaPathPatch
impl RefUnwindSafe for PmmSceneMediaPathPatch
impl Send for PmmSceneMediaPathPatch
impl Sync for PmmSceneMediaPathPatch
impl Unpin for PmmSceneMediaPathPatch
impl UnsafeUnpin for PmmSceneMediaPathPatch
impl UnwindSafe for PmmSceneMediaPathPatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more