pub enum AvatarMessage {
Chat {
volume: ChatVolume,
message: String,
},
Emote {
volume: ChatVolume,
message: String,
},
CameOnline,
WentOffline,
EnteredArea {
area: Area,
distance: Option<Distance>,
},
LeftArea {
area: Area,
},
}Expand description
represents a Second Life avatar related message
Variants§
Chat
a message about the avatar whispering, saying or shouting something
Fields
§
volume: ChatVolumehow “loud” the message was (whisper, say, shout or region say)
Emote
an emote (chat message starting with /me in the log)
Fields
§
volume: ChatVolumehow “loud” the message was (whisper, say, shout or region say)
CameOnline
a message about an avatar coming online
WentOffline
a message about an avatar going offline
EnteredArea
a message about an avatar entering an area of significance
Fields
LeftArea
a message about an avatar leaving an area of significance
Trait Implementations§
Source§impl Clone for AvatarMessage
impl Clone for AvatarMessage
Source§fn clone(&self) -> AvatarMessage
fn clone(&self) -> AvatarMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AvatarMessage
impl Debug for AvatarMessage
Source§impl PartialEq for AvatarMessage
impl PartialEq for AvatarMessage
impl StructuralPartialEq for AvatarMessage
Auto Trait Implementations§
impl Freeze for AvatarMessage
impl RefUnwindSafe for AvatarMessage
impl Send for AvatarMessage
impl Sync for AvatarMessage
impl Unpin for AvatarMessage
impl UnwindSafe for AvatarMessage
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