Struct rin::events::RangedProperty [−][src]
pub struct RangedProperty<'a, T, R = T> { /* fields omitted */ }
Implementations
impl<'a, T, R> RangedProperty<'a, T, R> where
T: 'a + Clone,
R: Clone,
[src]
impl<'a, T, R> RangedProperty<'a, T, R> where
T: 'a + Clone,
R: Clone,
[src]pub fn from_iter<I>(iter: I, range: Range<R>) -> RangedProperty<'a, T, R> where
I: 'a + Iterator<Item = T>,
[src]
I: 'a + Iterator<Item = T>,
pub fn from_iter_log_scale<I>(
iter: I,
range: Range<R>
) -> RangedProperty<'a, T, R> where
I: 'a + Iterator<Item = T>,
[src]
iter: I,
range: Range<R>
) -> RangedProperty<'a, T, R> where
I: 'a + Iterator<Item = T>,
pub fn new(
property: Property<'a, T>,
range: Range<R>
) -> RangedProperty<'a, T, R>
[src]
property: Property<'a, T>,
range: Range<R>
) -> RangedProperty<'a, T, R>
pub fn new_log_scale(
property: Property<'a, T>,
range: Range<R>
) -> RangedProperty<'a, T, R>
[src]
property: Property<'a, T>,
range: Range<R>
) -> RangedProperty<'a, T, R>
pub fn range(&self) -> Range<R>
[src]
pub fn by_ref(&self) -> &RangedProperty<'a, T, R>
[src]
pub fn min(&self) -> R
[src]
pub fn max(&self) -> R
[src]
pub fn get(&self) -> Option<&T>
[src]
pub fn iter(&self) -> Iter<'a, T>
[src]
impl<'a, T, R> RangedProperty<'a, T, R> where
T: 'a + Clone,
R: 'static + Sub<R, Output = R> + Clone,
[src]
impl<'a, T, R> RangedProperty<'a, T, R> where
T: 'a + Clone,
R: 'static + Sub<R, Output = R> + Clone,
[src]impl<'a, T, R> RangedProperty<'a, T, R> where
T: Sub<T, Output = T> + Clone + ToPrimitive + FromPrimitive + 'static,
R: Clone + ToPrimitive + Sub<R, Output = R> + 'static,
[src]
impl<'a, T, R> RangedProperty<'a, T, R> where
T: Sub<T, Output = T> + Clone + ToPrimitive + FromPrimitive + 'static,
R: Clone + ToPrimitive + Sub<R, Output = R> + 'static,
[src]Trait Implementations
impl<'a, T, R> Clone for RangedProperty<'a, T, R> where
T: Clone,
R: Clone,
[src]
impl<'a, T, R> Clone for RangedProperty<'a, T, R> where
T: Clone,
R: Clone,
[src]pub fn clone(&self) -> RangedProperty<'a, T, R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T, R> PartialEq<RangedProperty<'a, T, R>> for RangedProperty<'a, T, R> where
T: 'a + PartialEq<T> + Clone,
R: PartialEq<R> + Clone,
[src]
impl<'a, T, R> PartialEq<RangedProperty<'a, T, R>> for RangedProperty<'a, T, R> where
T: 'a + PartialEq<T> + Clone,
R: PartialEq<R> + Clone,
[src]impl<'a, T, R> Serialize for RangedProperty<'a, T, R> where
T: 'a + Clone + Serialize,
R: Clone + Serialize,
[src]
impl<'a, T, R> Serialize for RangedProperty<'a, T, R> where
T: 'a + Clone + Serialize,
R: Clone + Serialize,
[src]pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Auto Trait Implementations
impl<'a, T, R = T> !RefUnwindSafe for RangedProperty<'a, T, R>
impl<'a, T, R = T> !Send for RangedProperty<'a, T, R>
impl<'a, T, R = T> !Sync for RangedProperty<'a, T, R>
impl<'a, T, R> Unpin for RangedProperty<'a, T, R> where
R: Unpin,
R: Unpin,
impl<'a, T, R = T> !UnwindSafe for RangedProperty<'a, T, R>
Blanket Implementations
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[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]