#[repr(C)]pub struct WinLoseRule {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl WinLoseRule
impl WinLoseRule
pub fn unknown() -> Self
pub fn destroy_boss() -> Self
pub fn escape() -> Self
pub fn breakdown() -> Self
pub fn enemy_num_lequal() -> Self
pub fn limit_turn() -> Self
pub fn dead_hero() -> Self
pub fn dead_important() -> Self
pub fn dead_all() -> Self
pub fn event() -> Self
pub fn surrender() -> Self
pub fn custom() -> Self
pub fn dead_last_boss() -> Self
pub fn num() -> Self
Trait Implementations§
Source§impl ClassIdentity for WinLoseRule
impl ClassIdentity for WinLoseRule
Source§impl Clone for WinLoseRule
impl Clone for WinLoseRule
Source§fn clone(&self) -> WinLoseRule
fn clone(&self) -> WinLoseRule
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 moreSource§impl Debug for WinLoseRule
impl Debug for WinLoseRule
Source§impl PartialEq for WinLoseRule
impl PartialEq for WinLoseRule
impl Copy for WinLoseRule
impl Eq for WinLoseRule
impl StructuralPartialEq for WinLoseRule
Auto Trait Implementations§
impl Freeze for WinLoseRule
impl RefUnwindSafe for WinLoseRule
impl Send for WinLoseRule
impl Sync for WinLoseRule
impl Unpin for WinLoseRule
impl UnwindSafe for WinLoseRule
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)