[][src]Struct sulis_state::animation::particle_generator::GeneratorModel

pub struct GeneratorModel {
    pub position: (Param, Param),
    pub rotation: Option<Param>,
    pub centroid: Option<(Param, Param)>,
    pub red: Param,
    pub green: Param,
    pub blue: Param,
    pub alpha: Param,
    pub moves_with_parent: bool,
    pub duration_millis: ExtInt,
    pub gen_rate: Param,
    pub initial_overflow: f32,
    pub particle_position_dist: Option<DistParam2D>,
    pub particle_duration_dist: Option<Dist>,
    pub particle_frame_time_offset_dist: Option<Dist>,
    pub particle_size_dist: Option<(Dist, Dist)>,
    pub draw_above_entities: bool,
    pub is_blocking: bool,
}

Fields

position: (Param, Param)rotation: Option<Param>centroid: Option<(Param, Param)>red: Paramgreen: Paramblue: Paramalpha: Parammoves_with_parent: boolduration_millis: ExtIntgen_rate: Paraminitial_overflow: f32particle_position_dist: Option<DistParam2D>particle_duration_dist: Option<Dist>particle_frame_time_offset_dist: Option<Dist>particle_size_dist: Option<(Dist, Dist)>draw_above_entities: boolis_blocking: bool

Implementations

impl GeneratorModel[src]

pub fn new(duration_millis: ExtInt, x: f32, y: f32) -> GeneratorModel[src]

Trait Implementations

impl Clone for GeneratorModel[src]

impl Debug for GeneratorModel[src]

impl<'de> Deserialize<'de> for GeneratorModel[src]

impl Serialize for GeneratorModel[src]

impl UserData for GeneratorModel[src]

Auto Trait Implementations

impl RefUnwindSafe for GeneratorModel

impl Send for GeneratorModel

impl Sync for GeneratorModel

impl Unpin for GeneratorModel

impl UnwindSafe for GeneratorModel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<'lua, T> FromLua<'lua> for T where
    T: 'static + UserData + Clone
[src]

impl<'lua, T> FromLuaMulti<'lua> for T where
    T: FromLua<'lua>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'lua, T> ToLua<'lua> for T where
    T: 'static + UserData + Send
[src]

impl<'lua, T> ToLuaMulti<'lua> for T where
    T: ToLua<'lua>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]