pub struct ObsSceneItemStateSnapshot {
pub transform: ObsSceneItemTransformSnapshot,
pub visible: bool,
pub locked: bool,
pub order_position: i32,
}Expand description
Restorable scene-item state including transform, visibility, locking and native z-order.
Fields§
§transform: ObsSceneItemTransformSnapshot§visible: bool§locked: bool§order_position: i32Trait Implementations§
Source§impl Clone for ObsSceneItemStateSnapshot
impl Clone for ObsSceneItemStateSnapshot
Source§fn clone(&self) -> ObsSceneItemStateSnapshot
fn clone(&self) -> ObsSceneItemStateSnapshot
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 ObsSceneItemStateSnapshot
impl Debug for ObsSceneItemStateSnapshot
impl StructuralPartialEq for ObsSceneItemStateSnapshot
Auto Trait Implementations§
impl Freeze for ObsSceneItemStateSnapshot
impl RefUnwindSafe for ObsSceneItemStateSnapshot
impl Send for ObsSceneItemStateSnapshot
impl Sync for ObsSceneItemStateSnapshot
impl Unpin for ObsSceneItemStateSnapshot
impl UnsafeUnpin for ObsSceneItemStateSnapshot
impl UnwindSafe for ObsSceneItemStateSnapshot
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