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
sourceimpl 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
sourceimpl Clone for PlayerIdSet
impl Clone for PlayerIdSet
sourcefn clone(&self) -> PlayerIdSet
fn clone(&self) -> PlayerIdSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlayerIdSet
impl Debug for PlayerIdSet
sourceimpl Hash for PlayerIdSet
impl Hash for PlayerIdSet
sourceimpl PartialEq<PlayerIdSet> for PlayerIdSet
impl PartialEq<PlayerIdSet> for PlayerIdSet
sourcefn 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 ==
. Read more
sourceimpl ValueConverterTrait<PlayerIdSet> for ValueConverter
impl ValueConverterTrait<PlayerIdSet> for ValueConverter
sourcefn into_value(v: PlayerIdSet) -> Value
fn into_value(v: PlayerIdSet) -> Value
Wraps the passed-in value in a Value
enum.
sourcefn from_value(v: &Value) -> PlayerIdSet
fn from_value(v: &Value) -> PlayerIdSet
Extracts the value from a Value
enum.
impl Eq for PlayerIdSet
impl StructuralEq for PlayerIdSet
impl StructuralPartialEq for PlayerIdSet
Auto Trait Implementations
impl RefUnwindSafe for PlayerIdSet
impl Send for PlayerIdSet
impl Sync for PlayerIdSet
impl Unpin for PlayerIdSet
impl UnwindSafe for PlayerIdSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more