#[repr(C)]pub struct Unit_GuardType {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl Unit_GuardType
impl Unit_GuardType
pub fn none() -> Self
pub fn chain_guard() -> Self
pub fn dual_guard() -> Self
pub fn not_enough_hp() -> Self
Trait Implementations§
Source§impl ClassIdentity for Unit_GuardType
impl ClassIdentity for Unit_GuardType
Source§impl Clone for Unit_GuardType
impl Clone for Unit_GuardType
Source§fn clone(&self) -> Unit_GuardType
fn clone(&self) -> Unit_GuardType
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 Unit_GuardType
impl Debug for Unit_GuardType
Source§impl PartialEq for Unit_GuardType
impl PartialEq for Unit_GuardType
impl Copy for Unit_GuardType
impl Eq for Unit_GuardType
impl StructuralPartialEq for Unit_GuardType
Auto Trait Implementations§
impl Freeze for Unit_GuardType
impl RefUnwindSafe for Unit_GuardType
impl Send for Unit_GuardType
impl Sync for Unit_GuardType
impl Unpin for Unit_GuardType
impl UnwindSafe for Unit_GuardType
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)