Skip to main content

Entity

struct Entity {
// from native code
}

Fields

Methods

from_raw

fn from_raw(id: u32, gen: u16) -> Entity

id

fn id(self) -> u32

gen

fn gen(self) -> u16

as_u64

fn as_u64(self) -> u64

from_u64

fn from_u64(v: u64) -> Entity