pub enum RenderLayer {
Named(&'static str),
}Expand description
A number between 0 and 255 inclusive, represented by one of the following named strings or the string version of the number. For example "10" and "decals" are both valid. Higher values are rendered above lower values.
Named render layer string (or a numeric string).
Variants§
Implementations§
Source§impl RenderLayer
impl RenderLayer
pub const Zero: Self
pub const BackgroundTransitions: Self
pub const UnderTiles: Self
pub const Decals: Self
pub const AboveTiles: Self
pub const GroundLayer1: Self
pub const GroundLayer2: Self
pub const GroundLayer3: Self
pub const GroundLayer4: Self
pub const GroundLayer5: Self
pub const LowerRadiusVisualization: Self
pub const RadiusVisualization: Self
pub const TransportBeltIntegration: Self
pub const Resource: Self
pub const BuildingSmoke: Self
pub const RailStonePathLower: Self
pub const RailStonePath: Self
pub const RailTie: Self
pub const Decorative: Self
pub const GroundPatch: Self
pub const GroundPatchHigher: Self
pub const GroundPatchHigher2: Self
pub const RailChainSignalMetal: Self
pub const RailScrew: Self
pub const RailMetal: Self
pub const Remnants: Self
pub const Floor: Self
pub const TransportBelt: Self
pub const TransportBeltEndings: Self
pub const FloorMechanicsUnderCorpse: Self
pub const Corpse: Self
pub const FloorMechanics: Self
pub const Item: Self
pub const TransportBeltReader: Self
pub const LowerObject: Self
pub const TransportBeltCircuitConnector: Self
pub const LowerObjectAboveShadow: Self
pub const LowerObjectOverlay: Self
pub const ObjectUnder: Self
pub const Object: Self
pub const CargoHatch: Self
pub const HigherObjectUnder: Self
pub const HigherObjectAbove: Self
pub const TrainStopTop: Self
pub const ItemInInserterHand: Self
pub const AboveInserters: Self
pub const Wires: Self
pub const UnderElevated: Self
pub const ElevatedRailStonePathLower: Self
pub const ElevatedRailStonePath: Self
pub const ElevatedRailTie: Self
pub const ElevatedRailScrew: Self
pub const ElevatedRailMetal: Self
pub const ElevatedLowerObject: Self
pub const ElevatedObject: Self
pub const ElevatedHigherObject: Self
pub const FluidVisualization: Self
pub const WiresAbove: Self
pub const EntityInfoIcon: Self
pub const EntityInfoIconAbove: Self
pub const Explosion: Self
pub const Projectile: Self
pub const Smoke: Self
pub const AirObject: Self
pub const AirEntityInfoIcon: Self
pub const LightEffect: Self
pub const SelectionBox: Self
pub const HigherSelectionBox: Self
pub const CollisionSelectionBox: Self
pub const Arrow: Self
pub const Cursor: Self
Trait Implementations§
Source§impl Clone for RenderLayer
impl Clone for RenderLayer
Source§fn clone(&self) -> RenderLayer
fn clone(&self) -> RenderLayer
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 RenderLayer
Source§impl Debug for RenderLayer
impl Debug for RenderLayer
Source§impl Default for RenderLayer
impl Default for RenderLayer
impl Eq for RenderLayer
Source§impl From<&'static str> for RenderLayer
impl From<&'static str> for RenderLayer
Source§impl From<RenderLayer> for LuaAny
impl From<RenderLayer> for LuaAny
Source§fn from(_: RenderLayer) -> Self
fn from(_: RenderLayer) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RenderLayer
impl PartialEq for RenderLayer
impl StructuralPartialEq for RenderLayer
Auto Trait Implementations§
impl Freeze for RenderLayer
impl RefUnwindSafe for RenderLayer
impl Send for RenderLayer
impl Sync for RenderLayer
impl Unpin for RenderLayer
impl UnsafeUnpin for RenderLayer
impl UnwindSafe for RenderLayer
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