#[repr(C)]pub enum UnlockType {
Timed = 0,
Hold = 1,
}
Expand description
Valid unlock types.
Variants§
Trait Implementations§
Source§impl Clone for UnlockType
impl Clone for UnlockType
Source§fn clone(&self) -> UnlockType
fn clone(&self) -> UnlockType
Returns a duplicate 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 UnlockType
impl Debug for UnlockType
Source§impl PartialEq for UnlockType
impl PartialEq for UnlockType
impl Copy for UnlockType
impl Eq for UnlockType
impl StructuralPartialEq for UnlockType
Auto Trait Implementations§
impl Freeze for UnlockType
impl RefUnwindSafe for UnlockType
impl Send for UnlockType
impl Sync for UnlockType
impl Unpin for UnlockType
impl UnwindSafe for UnlockType
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