Struct seitan::RangedPropertyLastValueMut[][src]

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

Implementations

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

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

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

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

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

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

pub fn by_ref(&self) -> &RangedPropertyLastValueMut<'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) -> PropertyLastValue<'a, T>[src]

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

pub fn map<'b, T2: Clone, F: FnMut(T) -> T2 + 'a>(
    self,
    f: F
) -> RangedPropertyLastValueMut<'a, T2, R>
[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]

pub fn last_value(&mut self) -> Option<&T>[src]

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

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

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

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

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

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

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

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

Trait Implementations

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

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> From<T> for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]