pub struct Traveler {
pub id: u32,
pub name: String,
pub color: [f32; 4],
pub avatar: Option<AvatarSpec>,
/* private fields */
}Expand description
A remote traveler: identity + a short history of poses to interpolate.
Fields§
§id: u32§name: String§color: [f32; 4]§avatar: Option<AvatarSpec>The traveler’s portable avatar (the shared AvatarSpec from their
Passport descriptor) — the renderer swaps the placeholder capsule for
their assembled body when this is present.
Auto Trait Implementations§
impl Freeze for Traveler
impl RefUnwindSafe for Traveler
impl Send for Traveler
impl Sync for Traveler
impl Unpin for Traveler
impl UnsafeUnpin for Traveler
impl UnwindSafe for Traveler
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