pub struct EntityShellId {
pub schema_version: u16,
pub shell_id: ShellId,
}Expand description
Marker Component tracking the shell owner of an Extension target entity (invariant E-act-7, immutable after first SetComponent).
Fields§
§schema_version: u16Wire-level schema version tag.
shell_id: ShellIdOwning shell.
Trait Implementations§
Source§impl ArkheComponent for EntityShellId
impl ArkheComponent for EntityShellId
Source§const TYPE_CODE: u32 = 197634u32
const TYPE_CODE: u32 = 197634u32
Globally stable dispatch code within the runtime
TypeCode registry.Source§const SCHEMA_VERSION: u16 = 1u16
const SCHEMA_VERSION: u16 = 1u16
Monotone schema version. Bump on field addition (
#[serde(default)]
paired); field removal / reorder forbidden.Source§fn approx_size(&self) -> usize
fn approx_size(&self) -> usize
Approximate payload size for quota tracking. Default returns
size_of::<Self>(); override for bytes::Bytes-carrying Components.Source§impl Clone for EntityShellId
impl Clone for EntityShellId
Source§fn clone(&self) -> EntityShellId
fn clone(&self) -> EntityShellId
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 moreSource§impl Debug for EntityShellId
impl Debug for EntityShellId
Source§impl<'de> Deserialize<'de> for EntityShellId
impl<'de> Deserialize<'de> for EntityShellId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityShellId
impl PartialEq for EntityShellId
Source§fn eq(&self, other: &EntityShellId) -> bool
fn eq(&self, other: &EntityShellId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EntityShellId
impl Serialize for EntityShellId
impl Copy for EntityShellId
impl Eq for EntityShellId
impl StructuralPartialEq for EntityShellId
Auto Trait Implementations§
impl Freeze for EntityShellId
impl RefUnwindSafe for EntityShellId
impl Send for EntityShellId
impl Sync for EntityShellId
impl Unpin for EntityShellId
impl UnsafeUnpin for EntityShellId
impl UnwindSafe for EntityShellId
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