pub struct ComponentDelta {
pub component_id: ComponentId,
pub version: u64,
pub flags: u8,
pub bytes: Vec<u8>,
}Expand description
Component delta included in an entity delta.
Fields§
§component_id: ComponentIdComponent id.
version: u64Component version.
flags: u8Runtime-defined flags.
bytes: Vec<u8>Encoded component bytes.
Trait Implementations§
Source§impl Clone for ComponentDelta
impl Clone for ComponentDelta
Source§fn clone(&self) -> ComponentDelta
fn clone(&self) -> ComponentDelta
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 ComponentDelta
impl Debug for ComponentDelta
impl Eq for ComponentDelta
Source§impl PartialEq for ComponentDelta
impl PartialEq for ComponentDelta
impl StructuralPartialEq for ComponentDelta
Auto Trait Implementations§
impl Freeze for ComponentDelta
impl RefUnwindSafe for ComponentDelta
impl Send for ComponentDelta
impl Sync for ComponentDelta
impl Unpin for ComponentDelta
impl UnsafeUnpin for ComponentDelta
impl UnwindSafe for ComponentDelta
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