Struct rin::events::RangedPropertyMut[][src]

pub struct RangedPropertyMut<'a, T, R = T> where
    T: 'static + Clone
{ /* fields omitted */ }

Implementations

impl<'a, T, R> RangedPropertyMut<'a, T, R> where
    T: Clone,
    R: Clone
[src]

pub fn new(value: T, range: Range<R>) -> RangedPropertyMut<'a, T, R>[src]

pub fn new_log_scale(v: T, range: Range<R>) -> RangedPropertyMut<'a, T, R>[src]

pub fn from_property(
    property: Property<'a, T>,
    range: Range<R>
) -> RangedPropertyMut<'a, T, R>
[src]

pub fn from_property_log_scale(
    property: Property<'a, T>,
    range: Range<R>
) -> RangedPropertyMut<'a, T, R>
[src]

pub fn range(&self) -> Range<R>[src]

pub fn by_ref(&self) -> &RangedPropertyMut<'a, T, R>[src]

pub fn min(&self) -> R[src]

pub fn max(&self) -> R[src]

pub fn get(&self) -> &T[src]

pub fn set(&mut self, t: T)[src]

pub fn scale(&self) -> Scale[src]

pub fn into_property(self) -> Property<'a, T>[src]

pub fn stream(self) -> StreamRc<'a, T>[src]

pub fn map<T2, F>(self, f: F) -> RangedPropertyMut<'a, T2, R> where
    F: 'a + FnMut(T) -> T2,
    T2: Clone
[src]

pub fn try_iter<'b>(self) -> TryIter<'b, T>

Notable traits for TryIter<'a, T>

impl<'a, T> Iterator for TryIter<'a, T> type Item = T;
where
    'a: 'b, 
[src]

pub fn to_parameter<'b>(self) -> Parameter<'b, T> where
    'a: 'b, 
[src]

impl<'a, T, R> RangedPropertyMut<'a, T, R> where
    T: Clone,
    R: Clone
[src]

pub fn to_const(self) -> RangedProperty<'a, T, R>[src]

impl<'a, T, R> RangedPropertyMut<'a, T, R> where
    T: 'a + Clone,
    R: 'static + Sub<R, Output = R> + Clone
[src]

pub fn diff(&self) -> R[src]

impl<'a, T, R> RangedPropertyMut<'a, T, R> where
    T: Sub<T, Output = T> + Clone + ToPrimitive + FromPrimitive + 'static,
    R: Clone + ToPrimitive + Sub<R, Output = R> + 'static, 
[src]

pub fn pct(&self) -> f64[src]

pub fn set_pct(&mut self, pct: f64)[src]

Trait Implementations

impl<'a, T, R> AsRef<T> for RangedPropertyMut<'a, T, R> where
    T: Clone
[src]

impl<'a, T, R> Borrow<T> for RangedPropertyMut<'a, T, R> where
    T: Clone
[src]

impl<'a, T, R> Clone for RangedPropertyMut<'a, T, R> where
    T: 'static + Clone,
    R: Clone
[src]

impl<'a, T, R> Debug for RangedPropertyMut<'a, T, R> where
    T: 'static + Debug + Clone,
    R: Debug
[src]

impl<'de, 'a, T, R> Deserialize<'de> for RangedPropertyMut<'a, T, R> where
    T: 'static + Clone + Deserialize<'de>,
    R: Deserialize<'de>, 
[src]

impl<'a, T, R> Serialize for RangedPropertyMut<'a, T, R> where
    T: 'static + Clone + Serialize,
    R: Serialize
[src]

Auto Trait Implementations

impl<'a, T, R = T> !RefUnwindSafe for RangedPropertyMut<'a, T, R>

impl<'a, T, R = T> !Send for RangedPropertyMut<'a, T, R>

impl<'a, T, R = T> !Sync for RangedPropertyMut<'a, T, R>

impl<'a, T, R> Unpin for RangedPropertyMut<'a, T, R> where
    R: Unpin

impl<'a, T, R = T> !UnwindSafe for RangedPropertyMut<'a, T, R>

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

impl<C> AsUniform<CubeMap> for C where
    C: Borrow<CubeMap>, 
[src]

impl<'a, C> AsUniform<CubeMapSampler<'a>> for C where
    C: Borrow<CubeMapSampler<'a>>, 
[src]

impl<T> AsUniform<Texture> for T where
    T: Borrow<Texture>, 
[src]

impl<'a, T> AsUniform<TextureSampler<'a>> for T where
    T: Borrow<TextureSampler<'a>>, 
[src]

impl<T> AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static> for T where
    T: AsRef<[[f32; 3]; 3]>, 
[src]

impl<T> AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static> for T where
    T: AsRef<[[f32; 4]; 4]>, 
[src]

impl<T> AsUniform<dyn AsRef<[f32; 2]> + 'static> for T where
    T: AsRef<[f32; 2]>, 
[src]

impl<T> AsUniform<dyn AsRef<[f32; 3]> + 'static> for T where
    T: AsRef<[f32; 3]>, 
[src]

impl<T> AsUniform<dyn AsRef<[f32; 4]> + 'static> for T where
    T: AsRef<[f32; 4]>, 
[src]

impl<T> AsUniform<dyn AsRef<[f32; 9]> + 'static> for T where
    T: AsRef<[f32; 9]>, 
[src]

impl<T> AsUniform<dyn AsRef<[i32; 2]> + 'static> for T where
    T: AsRef<[i32; 2]>, 
[src]

impl<T> AsUniform<dyn AsRef<[i32; 3]> + 'static> for T where
    T: AsRef<[i32; 3]>, 
[src]

impl<T> AsUniform<dyn AsRef<[i32; 4]> + 'static> for T where
    T: AsRef<[i32; 4]>, 
[src]

impl<T> AsUniform<dyn AsRef<[u32; 2]> + 'static> for T where
    T: AsRef<[u32; 2]>, 
[src]

impl<T> AsUniform<dyn AsRef<[u32; 3]> + 'static> for T where
    T: AsRef<[u32; 3]>, 
[src]

impl<T> AsUniform<dyn AsRef<[u32; 4]> + 'static> for T where
    T: AsRef<[u32; 4]>, 
[src]

impl<A> AsUniform<dyn AsRef<f32> + 'static> for A where
    A: AsRef<f32>, 
[src]

impl<A> AsUniform<dyn AsRef<i32> + 'static> for A where
    A: AsRef<i32>, 
[src]

impl<A> AsUniform<dyn AsRef<u32> + 'static> for A where
    A: AsRef<u32>, 
[src]

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

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

impl<T> Color<dyn AsRef<[f32; 4]> + 'static> for T where
    T: AsRef<[f32; 4]> + ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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]

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