pub struct PmmProjectSceneSettings {Show 23 fields
pub offset: usize,
pub offset_end: usize,
pub current_frame_index: i32,
pub current_frame_index_in_text_field: i32,
pub begin_frame_index_enabled: bool,
pub end_frame_index_enabled: bool,
pub begin_frame_index: i32,
pub end_frame_index: i32,
pub preferred_fps: f32,
pub loop_enabled: bool,
pub audio_enabled: bool,
pub audio_path: String,
pub audio_asset_reference_index: Option<usize>,
pub background_video_enabled: bool,
pub background_video_path: String,
pub background_video_asset_reference_index: Option<usize>,
pub background_video_offset: [i32; 2],
pub background_video_scale_factor: f32,
pub background_image_enabled: bool,
pub background_image_path: String,
pub background_image_asset_reference_index: Option<usize>,
pub background_image_offset: [i32; 2],
pub background_image_scale_factor: f32,
}Fields§
§offset: usize§offset_end: usize§current_frame_index: i32§current_frame_index_in_text_field: i32§begin_frame_index_enabled: bool§end_frame_index_enabled: bool§begin_frame_index: i32§end_frame_index: i32§preferred_fps: f32§loop_enabled: bool§audio_enabled: bool§audio_path: String§audio_asset_reference_index: Option<usize>§background_video_enabled: bool§background_video_path: String§background_video_asset_reference_index: Option<usize>§background_video_offset: [i32; 2]§background_video_scale_factor: f32§background_image_enabled: bool§background_image_path: String§background_image_asset_reference_index: Option<usize>§background_image_offset: [i32; 2]§background_image_scale_factor: f32Trait Implementations§
Source§impl Clone for PmmProjectSceneSettings
impl Clone for PmmProjectSceneSettings
Source§fn clone(&self) -> PmmProjectSceneSettings
fn clone(&self) -> PmmProjectSceneSettings
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 PmmProjectSceneSettings
impl Debug for PmmProjectSceneSettings
Auto Trait Implementations§
impl Freeze for PmmProjectSceneSettings
impl RefUnwindSafe for PmmProjectSceneSettings
impl Send for PmmProjectSceneSettings
impl Sync for PmmProjectSceneSettings
impl Unpin for PmmProjectSceneSettings
impl UnsafeUnpin for PmmProjectSceneSettings
impl UnwindSafe for PmmProjectSceneSettings
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