Enum ArrowPickup
#[non_exhaustive]pub enum ArrowPickup {
Disallowed,
Allowed,
CreativeOnly,
}Expand description
AbstractArrow.Pickup: who may pick an arrow up.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
§impl Clone for ArrowPickup
impl Clone for ArrowPickup
§fn clone(&self) -> ArrowPickup
fn clone(&self) -> ArrowPickup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArrowPickup
§impl Debug for ArrowPickup
impl Debug for ArrowPickup
impl Eq for ArrowPickup
§impl PartialEq for ArrowPickup
impl PartialEq for ArrowPickup
impl StructuralPartialEq for ArrowPickup
Auto Trait Implementations§
impl Freeze for ArrowPickup
impl RefUnwindSafe for ArrowPickup
impl Send for ArrowPickup
impl Sync for ArrowPickup
impl Unpin for ArrowPickup
impl UnsafeUnpin for ArrowPickup
impl UnwindSafe for ArrowPickup
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