Struct naia_shared::ChannelKinds
source · pub struct ChannelKinds { /* private fields */ }
Implementations§
source§impl ChannelKinds
impl ChannelKinds
pub fn new() -> Self
pub fn add_channel<C: Channel>(&mut self, settings: ChannelSettings)
pub fn channels(&self) -> Vec<(ChannelKind, ChannelSettings)>
pub fn channel(&self, kind: &ChannelKind) -> ChannelSettings
Auto Trait Implementations§
impl RefUnwindSafe for ChannelKinds
impl Send for ChannelKinds
impl Sync for ChannelKinds
impl Unpin for ChannelKinds
impl UnwindSafe for ChannelKinds
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