Struct PlayerRender
pub struct PlayerRender<'a> {
pub name: &'a str,
pub local: bool,
}Expand description
Which player a MobRender is, for native_player_submit and
native_mob_layer.
Fields§
§name: &'a strThe player’s profile name.
local: boolWhether it is the player of this window, drawn in third person.
Trait Implementations§
§impl<'a> Clone for PlayerRender<'a>
impl<'a> Clone for PlayerRender<'a>
§fn clone(&self) -> PlayerRender<'a>
fn clone(&self) -> PlayerRender<'a>
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<'a> Copy for PlayerRender<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlayerRender<'a>
impl<'a> RefUnwindSafe for PlayerRender<'a>
impl<'a> Send for PlayerRender<'a>
impl<'a> Sync for PlayerRender<'a>
impl<'a> Unpin for PlayerRender<'a>
impl<'a> UnsafeUnpin for PlayerRender<'a>
impl<'a> UnwindSafe for PlayerRender<'a>
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