[−][src]Struct evtclib::Gadget
Gadget-specific agent data.
Gadgets are entities that are spawned by certain skills. They are mostly inanimate objects that only exist to achieve a certain skill effect.
Examples of this include the banners spawned by Warriors, but also skill effects like the roots created by Entangle or the other objects in the arena.
Implementations
impl Gadget
[src]
pub fn id(&self) -> u16
[src]
The id of the gadget.
Note that gadgets do not have true ids and the id is generated "through a combination of gadget parameters".
impl Gadget
[src]
Trait Implementations
impl Clone for Gadget
[src]
impl Debug for Gadget
[src]
impl Eq for Gadget
[src]
impl Hash for Gadget
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Gadget> for Gadget
[src]
impl StructuralEq for Gadget
[src]
impl StructuralPartialEq for Gadget
[src]
Auto Trait Implementations
impl RefUnwindSafe for Gadget
impl Send for Gadget
impl Sync for Gadget
impl Unpin for Gadget
impl UnwindSafe for Gadget
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,