Skip to main content

RenderLayer

Enum RenderLayer 

Source
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§

§

Named(&'static str)

Implementations§

Source§

impl RenderLayer

Source

pub const Zero: Self

Source

pub const BackgroundTransitions: Self

Source

pub const UnderTiles: Self

Source

pub const Decals: Self

Source

pub const AboveTiles: Self

Source

pub const GroundLayer1: Self

Source

pub const GroundLayer2: Self

Source

pub const GroundLayer3: Self

Source

pub const GroundLayer4: Self

Source

pub const GroundLayer5: Self

Source

pub const LowerRadiusVisualization: Self

Source

pub const RadiusVisualization: Self

Source

pub const TransportBeltIntegration: Self

Source

pub const Resource: Self

Source

pub const BuildingSmoke: Self

Source

pub const RailStonePathLower: Self

Source

pub const RailStonePath: Self

Source

pub const RailTie: Self

Source

pub const Decorative: Self

Source

pub const GroundPatch: Self

Source

pub const GroundPatchHigher: Self

Source

pub const GroundPatchHigher2: Self

Source

pub const RailChainSignalMetal: Self

Source

pub const RailScrew: Self

Source

pub const RailMetal: Self

Source

pub const Remnants: Self

Source

pub const Floor: Self

Source

pub const TransportBelt: Self

Source

pub const TransportBeltEndings: Self

Source

pub const FloorMechanicsUnderCorpse: Self

Source

pub const Corpse: Self

Source

pub const FloorMechanics: Self

Source

pub const Item: Self

Source

pub const TransportBeltReader: Self

Source

pub const LowerObject: Self

Source

pub const TransportBeltCircuitConnector: Self

Source

pub const LowerObjectAboveShadow: Self

Source

pub const LowerObjectOverlay: Self

Source

pub const ObjectUnder: Self

Source

pub const Object: Self

Source

pub const CargoHatch: Self

Source

pub const HigherObjectUnder: Self

Source

pub const HigherObjectAbove: Self

Source

pub const TrainStopTop: Self

Source

pub const ItemInInserterHand: Self

Source

pub const AboveInserters: Self

Source

pub const Wires: Self

Source

pub const UnderElevated: Self

Source

pub const ElevatedRailStonePathLower: Self

Source

pub const ElevatedRailStonePath: Self

Source

pub const ElevatedRailTie: Self

Source

pub const ElevatedRailScrew: Self

Source

pub const ElevatedRailMetal: Self

Source

pub const ElevatedLowerObject: Self

Source

pub const ElevatedObject: Self

Source

pub const ElevatedHigherObject: Self

Source

pub const FluidVisualization: Self

Source

pub const WiresAbove: Self

Source

pub const EntityInfoIcon: Self

Source

pub const EntityInfoIconAbove: Self

Source

pub const Explosion: Self

Source

pub const Projectile: Self

Source

pub const Smoke: Self

Source

pub const AirObject: Self

Source

pub const AirEntityInfoIcon: Self

Source

pub const LightEffect: Self

Source

pub const SelectionBox: Self

Source

pub const HigherSelectionBox: Self

Source

pub const CollisionSelectionBox: Self

Source

pub const Arrow: Self

Source

pub const Cursor: Self

Trait Implementations§

Source§

impl Clone for RenderLayer

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Copy for RenderLayer

Source§

impl Debug for RenderLayer

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RenderLayer

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for RenderLayer

Source§

impl From<&'static str> for RenderLayer

Source§

fn from(value: &'static str) -> Self

Converts to this type from the input type.
Source§

impl From<RenderLayer> for LuaAny

Source§

fn from(_: RenderLayer) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for RenderLayer

Source§

fn eq(&self, other: &RenderLayer) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for RenderLayer

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.