pub struct EntityHeaderArgs {
pub id: [u8; 16],
pub parent_idx: i32,
pub is_primary: bool,
pub is_context: bool,
}Expand description
Header fields shared by every add_* entry: identity, parenting, and
the two flag bits (is_primary, is_context). Pulled out so each
add_* fn signature stays under clippy’s too_many_arguments cap.
Fields§
§id: [u8; 16]§parent_idx: i32§is_primary: bool§is_context: boolTrait Implementations§
Source§impl Clone for EntityHeaderArgs
impl Clone for EntityHeaderArgs
Source§fn clone(&self) -> EntityHeaderArgs
fn clone(&self) -> EntityHeaderArgs
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityHeaderArgs
impl Debug for EntityHeaderArgs
impl Copy for EntityHeaderArgs
Auto Trait Implementations§
impl Freeze for EntityHeaderArgs
impl RefUnwindSafe for EntityHeaderArgs
impl Send for EntityHeaderArgs
impl Sync for EntityHeaderArgs
impl Unpin for EntityHeaderArgs
impl UnsafeUnpin for EntityHeaderArgs
impl UnwindSafe for EntityHeaderArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more