Skip to main content

EnchantmentRef

Type Alias EnchantmentRef 

Source
pub type EnchantmentRef = &'static Enchantment;

Trait Implementations§

Source§

impl Eq for EnchantmentRef

Source§

impl PartialEq for EnchantmentRef

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.