pub enum ChatChannel {
Nearby,
Direct,
Whisper,
WhisperStone,
}Expand description
In-world speech / stone contact channels.
Variants§
Nearby
Untargeted voice — everyone in acoustic range may hear.
Direct
Directed speak at a nearby player (eavesdroppers may overhear).
Whisper
Directed private whisper (range 0 for eavesdroppers).
WhisperStone
Long-range contact via paired whisper stones (“phones”).
Trait Implementations§
Source§impl Clone for ChatChannel
impl Clone for ChatChannel
Source§fn clone(&self) -> ChatChannel
fn clone(&self) -> ChatChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChatChannel
Source§impl Debug for ChatChannel
impl Debug for ChatChannel
Source§impl<'de> Deserialize<'de> for ChatChannel
impl<'de> Deserialize<'de> for ChatChannel
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
impl Eq for ChatChannel
Source§impl PartialEq for ChatChannel
impl PartialEq for ChatChannel
Source§impl Serialize for ChatChannel
impl Serialize for ChatChannel
impl StructuralPartialEq for ChatChannel
Auto Trait Implementations§
impl Freeze for ChatChannel
impl RefUnwindSafe for ChatChannel
impl Send for ChatChannel
impl Sync for ChatChannel
impl Unpin for ChatChannel
impl UnsafeUnpin for ChatChannel
impl UnwindSafe for ChatChannel
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