pub struct LuaPrototypeBase;Expand description
Base for all prototype classes.
Implementations§
Source§impl LuaPrototypeBase
impl LuaPrototypeBase
Sourcepub fn custom_tooltip_fields(&self) -> Vec<CustomTooltipField>
pub fn custom_tooltip_fields(&self) -> Vec<CustomTooltipField>
Extra description items in the tooltip and Factoriopedia.
Sourcepub fn factoriopedia_description(&self) -> &str
pub fn factoriopedia_description(&self) -> &str
Provides additional description used in factoriopedia.
pub fn localised_description(&self) -> &str
pub fn localised_name(&self) -> &str
Sourcepub fn order(&self) -> &str
pub fn order(&self) -> &str
The string used to alphabetically sort these prototypes. It is a simple string that has no additional semantic meaning.
pub fn parameter(&self) -> bool
Trait Implementations§
Source§impl Clone for LuaPrototypeBase
impl Clone for LuaPrototypeBase
Source§fn clone(&self) -> LuaPrototypeBase
fn clone(&self) -> LuaPrototypeBase
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 LuaPrototypeBase
Source§impl Debug for LuaPrototypeBase
impl Debug for LuaPrototypeBase
Source§impl Default for LuaPrototypeBase
impl Default for LuaPrototypeBase
Source§fn default() -> LuaPrototypeBase
fn default() -> LuaPrototypeBase
Returns the “default value” for a type. Read more
impl Eq for LuaPrototypeBase
Source§impl From<LuaPrototypeBase> for LuaAny
impl From<LuaPrototypeBase> for LuaAny
Source§fn from(_: LuaPrototypeBase) -> Self
fn from(_: LuaPrototypeBase) -> Self
Converts to this type from the input type.
impl LuaObject for LuaPrototypeBase
Source§impl PartialEq for LuaPrototypeBase
impl PartialEq for LuaPrototypeBase
impl StructuralPartialEq for LuaPrototypeBase
Auto Trait Implementations§
impl Freeze for LuaPrototypeBase
impl RefUnwindSafe for LuaPrototypeBase
impl Send for LuaPrototypeBase
impl Sync for LuaPrototypeBase
impl Unpin for LuaPrototypeBase
impl UnsafeUnpin for LuaPrototypeBase
impl UnwindSafe for LuaPrototypeBase
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