pub enum Prefabs {
None,
Melee,
Projectile,
JumpPad,
Stairs,
HiM,
}Expand description
Representation of the prefabs available on the official editor
Variants§
Implementations§
Trait Implementations§
Source§impl Distribution<Prefabs> for Standard
impl Distribution<Prefabs> for Standard
Source§impl PartialOrd for Prefabs
impl PartialOrd for Prefabs
impl Copy for Prefabs
impl StructuralPartialEq for Prefabs
Auto Trait Implementations§
impl Freeze for Prefabs
impl RefUnwindSafe for Prefabs
impl Send for Prefabs
impl Sync for Prefabs
impl Unpin for Prefabs
impl UnwindSafe for Prefabs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more