pub enum ElemValue {
Name(&'static str),
Signal(SignalID),
Prototype(PrototypeWithQuality),
}Expand description
Value for LuaGuiElement::elem_value:
a prototype name, SignalID, or PrototypeWithQuality.
Variants§
Trait Implementations§
impl Copy for ElemValue
Source§impl From<PrototypeWithQuality> for ElemValue
impl From<PrototypeWithQuality> for ElemValue
Source§fn from(value: PrototypeWithQuality) -> Self
fn from(value: PrototypeWithQuality) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ElemValue
Auto Trait Implementations§
impl Freeze for ElemValue
impl RefUnwindSafe for ElemValue
impl Send for ElemValue
impl Sync for ElemValue
impl Unpin for ElemValue
impl UnsafeUnpin for ElemValue
impl UnwindSafe for ElemValue
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