pub struct ServerParticleTexture {
pub blend_mode: BlendMode,
pub alpha: TweenedParameter<f32>,
pub scale: TweenedParameter<v2f>,
pub string: String,
pub animation: Option<TileAnimationParams>,
}
Fields§
§blend_mode: BlendMode
§alpha: TweenedParameter<f32>
§scale: TweenedParameter<v2f>
§string: String
§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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Source§type Output = ServerParticleTexture
type Output = ServerParticleTexture
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for ServerParticleTexture
impl PartialEq for ServerParticleTexture
Source§impl Serialize for ServerParticleTexture
impl Serialize for ServerParticleTexture
type Input = ServerParticleTexture
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for ServerParticleTexture
Auto Trait Implementations§
impl Freeze for ServerParticleTexture
impl RefUnwindSafe for ServerParticleTexture
impl Send for ServerParticleTexture
impl Sync for ServerParticleTexture
impl Unpin for ServerParticleTexture
impl UnwindSafe for ServerParticleTexture
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