#[repr(C)]pub struct AffordanceBinaryRecord {Show 15 fields
pub action_id: u64,
pub required_capability_hash: u64,
pub emitted_topic_hash: u64,
pub category: u8,
pub min_observer_status: u8,
pub min_energy_permill: u16,
pub max_damage_permill: u16,
pub min_hydration_permill: u16,
pub max_wear_permill: u16,
pub energy_delta: i16,
pub damage_delta: i16,
pub hydration_delta: i16,
pub wear_delta: i16,
pub reserved_u16: u16,
pub animation_clip_id: u32,
}Expand description
48-byte fixed-stride .10d EONT1 affordance binary record.
Fields§
§action_id: u64§required_capability_hash: u64§emitted_topic_hash: u64§category: u8§min_observer_status: u8§min_energy_permill: u16§max_damage_permill: u16§min_hydration_permill: u16§max_wear_permill: u16§energy_delta: i16§damage_delta: i16§hydration_delta: i16§wear_delta: i16§reserved_u16: u16§animation_clip_id: u32Trait Implementations§
Source§impl Clone for AffordanceBinaryRecord
impl Clone for AffordanceBinaryRecord
impl Copy for AffordanceBinaryRecord
Source§impl Debug for AffordanceBinaryRecord
impl Debug for AffordanceBinaryRecord
Source§impl Default for AffordanceBinaryRecord
impl Default for AffordanceBinaryRecord
impl Eq for AffordanceBinaryRecord
Source§impl PartialEq for AffordanceBinaryRecord
impl PartialEq for AffordanceBinaryRecord
impl StructuralPartialEq for AffordanceBinaryRecord
Auto Trait Implementations§
impl Freeze for AffordanceBinaryRecord
impl RefUnwindSafe for AffordanceBinaryRecord
impl Send for AffordanceBinaryRecord
impl Sync for AffordanceBinaryRecord
impl Unpin for AffordanceBinaryRecord
impl UnsafeUnpin for AffordanceBinaryRecord
impl UnwindSafe for AffordanceBinaryRecord
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DependencyElement for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.