Skip to main content

TrainStopBlueprintControlBehavior

Struct TrainStopBlueprintControlBehavior 

Source
pub struct TrainStopBlueprintControlBehavior {
Show 16 fields pub circuit_condition: LuaAny, pub circuit_enabled: bool, pub connect_to_logistic_network: bool, pub input_networks: LuaAny, pub logistic_condition: LuaAny, pub output_networks: LuaAny, pub priority_signal: LuaAny, pub read_from_train: bool, pub read_stopped_train: bool, pub read_trains_count: bool, pub send_to_train: bool, pub set_priority: bool, pub set_trains_limit: bool, pub train_stopped_signal: LuaAny, pub trains_count_signal: LuaAny, pub trains_limit_signal: LuaAny,
}

Fields§

§circuit_condition: LuaAny§circuit_enabled: bool§connect_to_logistic_network: bool§input_networks: LuaAny§logistic_condition: LuaAny§output_networks: LuaAny§priority_signal: LuaAny§read_from_train: bool§read_stopped_train: bool§read_trains_count: bool§send_to_train: bool§set_priority: bool§set_trains_limit: bool§train_stopped_signal: LuaAny§trains_count_signal: LuaAny§trains_limit_signal: LuaAny

Trait Implementations§

Source§

impl Clone for TrainStopBlueprintControlBehavior

Source§

fn clone(&self) -> TrainStopBlueprintControlBehavior

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 TrainStopBlueprintControlBehavior

Source§

impl Debug for TrainStopBlueprintControlBehavior

Source§

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

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

impl Default for TrainStopBlueprintControlBehavior

Source§

fn default() -> TrainStopBlueprintControlBehavior

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

impl PartialEq for TrainStopBlueprintControlBehavior

Source§

fn eq(&self, other: &TrainStopBlueprintControlBehavior) -> 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 TrainStopBlueprintControlBehavior

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.