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