Struct ark_api::world::PlayerIdSet
source · pub struct PlayerIdSet { /* private fields */ }Expand description
Represents a set of player ids used for filtering visual and audible things.
Implementations§
source§impl PlayerIdSet
impl PlayerIdSet
sourcepub fn new(players: &[PlayerId], exclusive: bool) -> Self
pub fn new(players: &[PlayerId], exclusive: bool) -> Self
Creates a PlayerIdSet from a set of player ids
exclusive set to true means that this set means all other players than the ones in
players.
Trait Implementations§
source§impl Clone for PlayerIdSet
impl Clone for PlayerIdSet
source§fn clone(&self) -> PlayerIdSet
fn clone(&self) -> PlayerIdSet
Returns a copy 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 PlayerIdSet
impl Debug for PlayerIdSet
source§impl Hash for PlayerIdSet
impl Hash for PlayerIdSet
source§impl PartialEq<PlayerIdSet> for PlayerIdSet
impl PartialEq<PlayerIdSet> for PlayerIdSet
source§fn eq(&self, other: &PlayerIdSet) -> bool
fn eq(&self, other: &PlayerIdSet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ValueConverterTrait<PlayerIdSet> for ValueConverter
impl ValueConverterTrait<PlayerIdSet> for ValueConverter
source§fn into_value(v: PlayerIdSet) -> Value
fn into_value(v: PlayerIdSet) -> Value
Wraps the passed-in value in a
Value enum.source§fn from_value(v: &Value) -> PlayerIdSet
fn from_value(v: &Value) -> PlayerIdSet
Extracts the value from a
Value enum.