pub struct ExportMeta {
pub interface: Option<String>,
}Expand description
Metadata from #[factorio_rs::export] / #[factorio_rs::export(interface = "...")].
Fields§
§interface: Option<String>Override for the Factorio remote interface name (control-stage exports).
When None, the consuming mod’s package name is used at emit time.
Trait Implementations§
Source§impl Clone for ExportMeta
impl Clone for ExportMeta
Source§fn clone(&self) -> ExportMeta
fn clone(&self) -> ExportMeta
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 moreSource§impl Debug for ExportMeta
impl Debug for ExportMeta
impl Eq for ExportMeta
Source§impl PartialEq for ExportMeta
impl PartialEq for ExportMeta
impl StructuralPartialEq for ExportMeta
Auto Trait Implementations§
impl Freeze for ExportMeta
impl RefUnwindSafe for ExportMeta
impl Send for ExportMeta
impl Sync for ExportMeta
impl Unpin for ExportMeta
impl UnsafeUnpin for ExportMeta
impl UnwindSafe for ExportMeta
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