Enum lu_formats::files::lvl::NodeType
source · pub enum NodeType {
Show 16 variants
EnvironmentObj,
Building,
Springpad,
Sound,
Particle,
GenericPlaceholder,
ErrorMarker,
PlayerStart,
Enemy,
Npc,
Rebuilder,
Spawned,
Cannon,
Bouncer,
Exhibit,
MovingPlatform,
}
Expand description
Variants§
EnvironmentObj
Value: 0
Building
Value: 1
Springpad
Value: 10
Sound
Value: 11
Particle
Value: 12
GenericPlaceholder
Value: 13
ErrorMarker
Value: 14
PlayerStart
Value: 15
Enemy
Value: 2
Npc
Value: 3
Rebuilder
Value: 4
Spawned
Value: 5
Cannon
Value: 6
Bouncer
Value: 7
Exhibit
Value: 8
MovingPlatform
Value: 9
Implementations§
source§impl NodeType
impl NodeType
sourcepub const _ENVIRONMENT_OBJ: u64 = 0u64
pub const _ENVIRONMENT_OBJ: u64 = 0u64
Value: 0
sourcepub const _SPRINGPAD: u64 = 10u64
pub const _SPRINGPAD: u64 = 10u64
Value: 10
sourcepub const _GENERIC_PLACEHOLDER: u64 = 13u64
pub const _GENERIC_PLACEHOLDER: u64 = 13u64
Value: 13
sourcepub const _ERROR_MARKER: u64 = 14u64
pub const _ERROR_MARKER: u64 = 14u64
Value: 14
sourcepub const _PLAYER_START: u64 = 15u64
pub const _PLAYER_START: u64 = 15u64
Value: 15
sourcepub const _REBUILDER: u64 = 4u64
pub const _REBUILDER: u64 = 4u64
Value: 4
sourcepub const _MOVING_PLATFORM: u64 = 9u64
pub const _MOVING_PLATFORM: u64 = 9u64
Value: 9
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeType
impl<'de> Deserialize<'de> for NodeType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<NodeType> for NodeType
impl PartialEq<NodeType> for NodeType
impl Copy for NodeType
impl Eq for NodeType
impl StructuralEq for NodeType
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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