Struct discord_sdk::lobby::state::LobbyStates
source · pub struct LobbyStates {
pub lobbies: RwLock<Vec<LobbyState>>,
}
Fields§
§lobbies: RwLock<Vec<LobbyState>>
Implementations§
source§impl LobbyStates
impl LobbyStates
pub fn new() -> Self
pub fn on_event(&self, le: LobbyEvent)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LobbyStates
impl !RefUnwindSafe for LobbyStates
impl Send for LobbyStates
impl Sync for LobbyStates
impl Unpin for LobbyStates
impl UnwindSafe for LobbyStates
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