Struct ark_api::behavior_controller::BehaviorRegistration
source · pub struct BehaviorRegistration {
pub type_id: BehaviorTypeId,
pub name: String,
}Expand description
Describes a behavior in an external behavior module
Fields§
§type_id: BehaviorTypeId§name: StringTrait Implementations§
source§impl Clone for BehaviorRegistration
impl Clone for BehaviorRegistration
source§fn clone(&self) -> BehaviorRegistration
fn clone(&self) -> BehaviorRegistration
Returns a copy 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 BehaviorRegistration
impl Debug for BehaviorRegistration
source§impl<'de> Deserialize<'de> for BehaviorRegistration
impl<'de> Deserialize<'de> for BehaviorRegistration
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BehaviorRegistration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<BehaviorRegistration, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<BehaviorRegistration> for BehaviorRegistration
impl PartialEq<BehaviorRegistration> for BehaviorRegistration
source§fn eq(&self, other: &BehaviorRegistration) -> bool
fn eq(&self, other: &BehaviorRegistration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BehaviorRegistration
impl Serialize for BehaviorRegistration
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for BehaviorRegistration
impl StructuralEq for BehaviorRegistration
impl StructuralPartialEq for BehaviorRegistration
Auto Trait Implementations§
impl RefUnwindSafe for BehaviorRegistration
impl Send for BehaviorRegistration
impl Sync for BehaviorRegistration
impl Unpin for BehaviorRegistration
impl UnwindSafe for BehaviorRegistration
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