pub enum ObjectiveKind {
Event {
id: u16,
count: u16,
},
Timer {
seconds: f32,
},
Gate,
}Variants§
Trait Implementations§
Source§impl Clone for ObjectiveKind
impl Clone for ObjectiveKind
Source§fn clone(&self) -> ObjectiveKind
fn clone(&self) -> ObjectiveKind
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 ObjectiveKind
impl Debug for ObjectiveKind
Source§impl PartialEq for ObjectiveKind
impl PartialEq for ObjectiveKind
impl Copy for ObjectiveKind
impl StructuralPartialEq for ObjectiveKind
Auto Trait Implementations§
impl Freeze for ObjectiveKind
impl RefUnwindSafe for ObjectiveKind
impl Send for ObjectiveKind
impl Sync for ObjectiveKind
impl Unpin for ObjectiveKind
impl UnwindSafe for ObjectiveKind
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