pub struct SceneInfo {
pub name: String,
pub start: u32,
pub frames: u32,
pub transition: u32,
pub transition_at: u32,
}Expand description
A scene on the timeline.
Fields§
§name: StringScene name (its function name).
start: u32First global frame of the scene.
frames: u32Length in frames.
transition: u32Incoming blend length in frames. 0 if this scene has no transition.
transition_at: u32Frame inside the scene where that blend starts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SceneInfo
impl<'de> Deserialize<'de> for SceneInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SceneInfo
Auto Trait Implementations§
impl Freeze for SceneInfo
impl RefUnwindSafe for SceneInfo
impl Send for SceneInfo
impl Sync for SceneInfo
impl Unpin for SceneInfo
impl UnsafeUnpin for SceneInfo
impl UnwindSafe for SceneInfo
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