#[non_exhaustive]pub enum OffsetType {
Header,
Tiles,
Chests,
Signs,
Entities,
TileEntites,
WeightedPressurePlates,
Homes,
Bestiary,
JourneyPowers,
Footer,
}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.
Implementations§
Source§impl OffsetType
impl OffsetType
Trait Implementations§
Source§impl Clone for OffsetType
impl Clone for OffsetType
Source§fn clone(&self) -> OffsetType
fn clone(&self) -> OffsetType
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 OffsetType
Source§impl Debug for OffsetType
impl Debug for OffsetType
impl Eq for OffsetType
Source§impl Hash for OffsetType
impl Hash for OffsetType
Source§impl PartialEq for OffsetType
impl PartialEq for OffsetType
impl StructuralPartialEq for OffsetType
Auto Trait Implementations§
impl Freeze for OffsetType
impl RefUnwindSafe for OffsetType
impl Send for OffsetType
impl Sync for OffsetType
impl Unpin for OffsetType
impl UnsafeUnpin for OffsetType
impl UnwindSafe for OffsetType
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