pub struct BehaviorRegistration {
pub type_id: BehaviorTypeId,
pub name: String,
}Expand description
Describes a behavior in an external behavior module
Fields
type_id: BehaviorTypeIdname: StringTrait Implementations
sourceimpl Clone for BehaviorRegistration
impl Clone for BehaviorRegistration
sourcefn clone(&self) -> BehaviorRegistration
fn clone(&self) -> BehaviorRegistration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BehaviorRegistration
impl Debug for BehaviorRegistration
sourceimpl<'de> Deserialize<'de> for BehaviorRegistration
impl<'de> Deserialize<'de> for BehaviorRegistration
sourcefn 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
sourceimpl PartialEq<BehaviorRegistration> for BehaviorRegistration
impl PartialEq<BehaviorRegistration> for BehaviorRegistration
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &BehaviorRegistration) -> bool
fn ne(&self, other: &BehaviorRegistration) -> bool
This method tests for !=.
sourceimpl Serialize for BehaviorRegistration
impl Serialize for BehaviorRegistration
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more