pub struct Me(/* private fields */);Expand description
The peer representing the current device.
Can be compared to Peer or used to get_settings.
IMPORTANT: Using this type may cause state drift between device in multiplayer. See the docs for more info.
Trait Implementations§
impl Copy for Me
impl Eq for Me
impl StructuralPartialEq for Me
Auto Trait Implementations§
impl Freeze for Me
impl RefUnwindSafe for Me
impl Send for Me
impl Sync for Me
impl Unpin for Me
impl UnsafeUnpin for Me
impl UnwindSafe for Me
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