Enum DimensionTransitionReason
pub enum DimensionTransitionReason {
NetherPortal,
EndPortal,
Other,
}Expand description
Why the client is displaying its level-loading screen.
Variants§
NetherPortal
Travel involving the Nether, except a death respawn.
EndPortal
Travel involving the End, except a death respawn or Nether travel.
Other
Login, death respawn, or other travel.
Trait Implementations§
§impl Clone for DimensionTransitionReason
impl Clone for DimensionTransitionReason
§fn clone(&self) -> DimensionTransitionReason
fn clone(&self) -> DimensionTransitionReason
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 DimensionTransitionReason
§impl Debug for DimensionTransitionReason
impl Debug for DimensionTransitionReason
impl Eq for DimensionTransitionReason
§impl PartialEq for DimensionTransitionReason
impl PartialEq for DimensionTransitionReason
impl StructuralPartialEq for DimensionTransitionReason
Auto Trait Implementations§
impl Freeze for DimensionTransitionReason
impl RefUnwindSafe for DimensionTransitionReason
impl Send for DimensionTransitionReason
impl Sync for DimensionTransitionReason
impl Unpin for DimensionTransitionReason
impl UnsafeUnpin for DimensionTransitionReason
impl UnwindSafe for DimensionTransitionReason
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