pub struct PmmSceneFrameRangePatch {
pub current_frame_index: Option<i32>,
pub current_frame_index_in_text_field: Option<i32>,
pub begin_frame_index_enabled: Option<bool>,
pub end_frame_index_enabled: Option<bool>,
pub begin_frame_index: Option<i32>,
pub end_frame_index: Option<i32>,
}Expand description
Lossless source-byte patch export for decoded scene frame range fields in PMMv2 document settings. Clones the manifest’s source_bytes and overwrites only the exact byte positions recorded in PmmDocumentSettingsSummary (current_frame_index_offset etc). Only fields with Some(…) are patched. i32 values are written little-endian; bool as single byte 0/1. 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§
§current_frame_index: Option<i32>§current_frame_index_in_text_field: Option<i32>§begin_frame_index_enabled: Option<bool>§end_frame_index_enabled: Option<bool>§begin_frame_index: Option<i32>§end_frame_index: Option<i32>Trait Implementations§
Source§impl Clone for PmmSceneFrameRangePatch
impl Clone for PmmSceneFrameRangePatch
Source§fn clone(&self) -> PmmSceneFrameRangePatch
fn clone(&self) -> PmmSceneFrameRangePatch
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 PmmSceneFrameRangePatch
impl Debug for PmmSceneFrameRangePatch
Source§impl Default for PmmSceneFrameRangePatch
impl Default for PmmSceneFrameRangePatch
Source§fn default() -> PmmSceneFrameRangePatch
fn default() -> PmmSceneFrameRangePatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PmmSceneFrameRangePatch
impl RefUnwindSafe for PmmSceneFrameRangePatch
impl Send for PmmSceneFrameRangePatch
impl Sync for PmmSceneFrameRangePatch
impl Unpin for PmmSceneFrameRangePatch
impl UnsafeUnpin for PmmSceneFrameRangePatch
impl UnwindSafe for PmmSceneFrameRangePatch
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