pub struct TileEffect {
pub name: &'static str,
pub shader: &'static str,
}Expand description
Minimal TileEffectDefinition for data.extend.
Used to define the parameters for tile shaders.
type = "tile-effect" is injected by the Lua generator.
Fields§
§name: &'static strName of the tile-effect.
shader: &'static strPrototype property shader.
Trait Implementations§
Source§impl Clone for TileEffect
impl Clone for TileEffect
Source§fn clone(&self) -> TileEffect
fn clone(&self) -> TileEffect
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 TileEffect
Source§impl Debug for TileEffect
impl Debug for TileEffect
Source§impl Default for TileEffect
impl Default for TileEffect
Source§fn default() -> TileEffect
fn default() -> TileEffect
Returns the “default value” for a type. Read more
impl Eq for TileEffect
Source§impl PartialEq for TileEffect
impl PartialEq for TileEffect
impl StructuralPartialEq for TileEffect
Auto Trait Implementations§
impl Freeze for TileEffect
impl RefUnwindSafe for TileEffect
impl Send for TileEffect
impl Sync for TileEffect
impl Unpin for TileEffect
impl UnsafeUnpin for TileEffect
impl UnwindSafe for TileEffect
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