pub enum DecorativeID {
DecorativePrototype(LuaDecorativePrototype),
Name(&'static str),
}Expand description
A decorative prototype may be specified in one of two ways.
Variants§
DecorativePrototype(LuaDecorativePrototype)
Name(&'static str)
Trait Implementations§
Source§impl Clone for DecorativeID
impl Clone for DecorativeID
Source§fn clone(&self) -> DecorativeID
fn clone(&self) -> DecorativeID
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 DecorativeID
Source§impl Debug for DecorativeID
impl Debug for DecorativeID
Source§impl Default for DecorativeID
impl Default for DecorativeID
Source§impl From<&'static str> for DecorativeID
impl From<&'static str> for DecorativeID
Source§impl From<DecorativeID> for LuaAny
impl From<DecorativeID> for LuaAny
Source§fn from(_: DecorativeID) -> Self
fn from(_: DecorativeID) -> Self
Converts to this type from the input type.
Source§impl From<LuaDecorativePrototype> for DecorativeID
impl From<LuaDecorativePrototype> for DecorativeID
Source§fn from(value: LuaDecorativePrototype) -> Self
fn from(value: LuaDecorativePrototype) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecorativeID
impl PartialEq for DecorativeID
impl StructuralPartialEq for DecorativeID
Auto Trait Implementations§
impl Freeze for DecorativeID
impl RefUnwindSafe for DecorativeID
impl Send for DecorativeID
impl Sync for DecorativeID
impl Unpin for DecorativeID
impl UnsafeUnpin for DecorativeID
impl UnwindSafe for DecorativeID
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