Struct minetest_protocol::wire::types::ServerParticleTexture
source · pub struct ServerParticleTexture {
pub blend_mode: BlendMode,
pub alpha: TweenedParameter<f32>,
pub scale: TweenedParameter<v2f>,
pub string: LongString,
pub animation: Option<TileAnimationParams>,
}
Fields§
§blend_mode: BlendMode
§alpha: TweenedParameter<f32>
§scale: TweenedParameter<v2f>
§string: LongString
§animation: Option<TileAnimationParams>
Trait Implementations§
source§impl Clone for ServerParticleTexture
impl Clone for ServerParticleTexture
source§fn clone(&self) -> ServerParticleTexture
fn clone(&self) -> ServerParticleTexture
Returns a copy of the value. Read more
1.0.0 · 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 ServerParticleTexture
impl Debug for ServerParticleTexture
source§impl Deserialize for ServerParticleTexture
impl Deserialize for ServerParticleTexture
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<ServerParticleTexture> for ServerParticleTexture
impl PartialEq<ServerParticleTexture> for ServerParticleTexture
source§fn eq(&self, other: &ServerParticleTexture) -> bool
fn eq(&self, other: &ServerParticleTexture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.