Struct discord_sdk::voice::state::VoiceState
source · pub struct VoiceState {
pub state: RwLock<VoiceStateInner>,
}
Fields§
§state: RwLock<VoiceStateInner>
Implementations§
source§impl VoiceState
impl VoiceState
pub fn new() -> Self
pub fn on_event(&self, ve: VoiceEvent)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for VoiceState
impl Send for VoiceState
impl Sync for VoiceState
impl Unpin for VoiceState
impl UnwindSafe for VoiceState
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