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

pub struct Param {
    pub value: f32,
    // some fields omitted
}

Fields

value: f32

Implementations

impl Param[src]

pub fn is_non_zero(&self) -> bool[src]

pub fn offset(&self, offset: f32) -> Param[src]

pub fn fixed(value: f32) -> Param[src]

pub fn with_speed(value: f32, speed: f32) -> Param[src]

pub fn with_accel(value: f32, speed: f32, accel: f32) -> Param[src]

pub fn with_jerk(value: f32, speed: f32, accel: f32, jerk: f32) -> Param[src]

pub fn update(&mut self, v_term: f32, a_term: f32, j_term: f32)[src]

Trait Implementations

impl Clone for Param[src]

impl Copy for Param[src]

impl Debug for Param[src]

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

impl Serialize for Param[src]

impl UserData for Param[src]

Auto Trait Implementations

impl RefUnwindSafe for Param

impl Send for Param

impl Sync for Param

impl Unpin for Param

impl UnwindSafe for Param

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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

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]