pub struct Scene {
pub name: String,
pub index: usize,
}
Expand description
The scene describes basic details about a single scene setup in OBS.
Fields§
§name: String
Name of this scene.
index: usize
Positional index in the scene list.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Scene
impl<'de> Deserialize<'de> for Scene
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
source§impl Ord for Scene
impl Ord for Scene
source§impl PartialEq<Scene> for Scene
impl PartialEq<Scene> for Scene
source§impl PartialOrd<Scene> for Scene
impl PartialOrd<Scene> for Scene
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Scene
impl StructuralEq for Scene
impl StructuralPartialEq for Scene
Auto Trait Implementations§
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
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