pub enum AsteroidChunkID {
AsteroidChunkPrototype(LuaAsteroidChunkPrototype),
Name(&'static str),
}Expand description
An asteroid chunk prototype may be specified in one of two ways.
Variants§
AsteroidChunkPrototype(LuaAsteroidChunkPrototype)
Name(&'static str)
Trait Implementations§
Source§impl Clone for AsteroidChunkID
impl Clone for AsteroidChunkID
Source§fn clone(&self) -> AsteroidChunkID
fn clone(&self) -> AsteroidChunkID
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 AsteroidChunkID
Source§impl Debug for AsteroidChunkID
impl Debug for AsteroidChunkID
Source§impl Default for AsteroidChunkID
impl Default for AsteroidChunkID
Source§impl From<&'static str> for AsteroidChunkID
impl From<&'static str> for AsteroidChunkID
Source§impl From<AsteroidChunkID> for LuaAny
impl From<AsteroidChunkID> for LuaAny
Source§fn from(_: AsteroidChunkID) -> Self
fn from(_: AsteroidChunkID) -> Self
Converts to this type from the input type.
Source§impl From<LuaAsteroidChunkPrototype> for AsteroidChunkID
impl From<LuaAsteroidChunkPrototype> for AsteroidChunkID
Source§fn from(value: LuaAsteroidChunkPrototype) -> Self
fn from(value: LuaAsteroidChunkPrototype) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AsteroidChunkID
impl PartialEq for AsteroidChunkID
impl StructuralPartialEq for AsteroidChunkID
Auto Trait Implementations§
impl Freeze for AsteroidChunkID
impl RefUnwindSafe for AsteroidChunkID
impl Send for AsteroidChunkID
impl Sync for AsteroidChunkID
impl Unpin for AsteroidChunkID
impl UnsafeUnpin for AsteroidChunkID
impl UnwindSafe for AsteroidChunkID
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