Struct obws::client::SceneCollections
source · pub struct SceneCollections<'a> { /* private fields */ }
Expand description
API functions related to scene collections.
Implementations§
source§impl<'a> SceneCollections<'a>
impl<'a> SceneCollections<'a>
sourcepub async fn list(&self) -> Result<SceneCollections>
pub async fn list(&self) -> Result<SceneCollections>
Gets an array of all scene collections.
sourcepub async fn set_current(&self, name: &str) -> Result<()>
pub async fn set_current(&self, name: &str) -> Result<()>
Switches to a scene collection.
Note: This will block until the collection has finished changing.
Auto Trait Implementations§
impl<'a> Freeze for SceneCollections<'a>
impl<'a> !RefUnwindSafe for SceneCollections<'a>
impl<'a> Send for SceneCollections<'a>
impl<'a> Sync for SceneCollections<'a>
impl<'a> Unpin for SceneCollections<'a>
impl<'a> !UnwindSafe for SceneCollections<'a>
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