#[repr(C)]pub struct AIThink_EnchantThink_Desc {
pub priority: i32,
pub calc_unit_score: AIThink_EnchantThink_CalcUnitScoreFunction,
}Expand description
Fields§
§priority: i32§calc_unit_score: AIThink_EnchantThink_CalcUnitScoreFunctionImplementations§
Source§impl AIThink_EnchantThink_Desc
impl AIThink_EnchantThink_Desc
Sourcepub fn ctor(
&mut self,
priority: impl Into<i32>,
calc_unit_score: impl Into<AIThink_EnchantThink_CalcUnitScoreFunction>,
)
pub fn ctor( &mut self, priority: impl Into<i32>, calc_unit_score: impl Into<AIThink_EnchantThink_CalcUnitScoreFunction>, )
.ctor(i32, crate::app::aithink::AIThink_EnchantThink_CalcUnitScoreFunction) overload
Source§impl AIThink_EnchantThink_Desc
impl AIThink_EnchantThink_Desc
pub fn ctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for AIThink_EnchantThink_Desc
impl Clone for AIThink_EnchantThink_Desc
Source§fn clone(&self) -> AIThink_EnchantThink_Desc
fn clone(&self) -> AIThink_EnchantThink_Desc
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AIThink_EnchantThink_Desc
Auto Trait Implementations§
impl Freeze for AIThink_EnchantThink_Desc
impl RefUnwindSafe for AIThink_EnchantThink_Desc
impl !Send for AIThink_EnchantThink_Desc
impl !Sync for AIThink_EnchantThink_Desc
impl Unpin for AIThink_EnchantThink_Desc
impl UnwindSafe for AIThink_EnchantThink_Desc
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)