pub struct Players {
pub name: Option<Atom>,
}Expand description
Every player (part of the entities: their facts read through it).
Fields§
§name: Option<Atom>Implementations§
Trait Implementations§
Source§impl Mirror for Players
impl Mirror for Players
Source§const CLOCK: Clock
const CLOCK: Clock
Whose ticks it’s written after (the server’s, unless it’s a client’s view).
Source§fn read(row: &Row<'_, Self>) -> Self
fn read(row: &Row<'_, Self>) -> Self
The whole row (a field not asked for reads as its default).
fn spec() -> MirrorSpec
Source§fn declare(fields: u64, rate: Rate) -> Result<Mirrored<Self>, Diagnostic>
fn declare(fields: u64, rate: Rate) -> Result<Mirrored<Self>, Diagnostic>
Asks for
fields (its bit consts or-ed) at rate.Source§fn declare_scoped<S: Schema>(
scope: &S,
fields: u64,
rate: Rate,
) -> Result<Mirrored<Self>, Diagnostic>
fn declare_scoped<S: Schema>( scope: &S, fields: u64, rate: Rate, ) -> Result<Mirrored<Self>, Diagnostic>
Source§fn declare_in<S: Schema>(
member: &str,
scope: Option<&S>,
fields: u64,
rate: Rate,
) -> Result<Mirrored<Self>, Diagnostic>
fn declare_in<S: Schema>( member: &str, scope: Option<&S>, fields: u64, rate: Rate, ) -> Result<Mirrored<Self>, Diagnostic>
Mirror::declare in member member of its family (a dimension:
minecraft:overworld), covering scope (its scope type: a
BlockScope…).Auto Trait Implementations§
impl Freeze for Players
impl RefUnwindSafe for Players
impl Send for Players
impl Sync for Players
impl Unpin for Players
impl UnsafeUnpin for Players
impl UnwindSafe for Players
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