[−][src]Struct ringui::RangedParameter
Methods
impl<'a, T, R> RangedParameter<'a, T, R> where
R: Clone + Debug,
T: 'a + Clone + Debug,
[src]
impl<'a, T, R> RangedParameter<'a, T, R> where
R: Clone + Debug,
T: 'a + Clone + Debug,
pub fn from_iter<I>(iter: I, range: Range<R>) -> RangedParameter<'a, T, R> where
I: 'a + Iterator<Item = T>,
[src]
pub fn from_iter<I>(iter: I, range: Range<R>) -> RangedParameter<'a, T, R> where
I: 'a + Iterator<Item = T>,
pub fn from_iter_log_scale<I>(
iter: I,
range: Range<R>
) -> RangedParameter<'a, T, R> where
I: 'a + Iterator<Item = T>,
[src]
pub fn from_iter_log_scale<I>(
iter: I,
range: Range<R>
) -> RangedParameter<'a, T, R> where
I: 'a + Iterator<Item = T>,
pub fn new(
property: Property<'a, T>,
range: Range<R>
) -> RangedParameter<'a, T, R>
[src]
pub fn new(
property: Property<'a, T>,
range: Range<R>
) -> RangedParameter<'a, T, R>
pub fn new_log_scale(
property: Property<'a, T>,
range: Range<R>
) -> RangedParameter<'a, T, R>
[src]
pub fn new_log_scale(
property: Property<'a, T>,
range: Range<R>
) -> RangedParameter<'a, T, R>
pub fn range(&self) -> Range<R>
[src]
pub fn range(&self) -> Range<R>
pub fn by_ref(&self) -> &RangedParameter<'a, T, R>
[src]
pub fn by_ref(&self) -> &RangedParameter<'a, T, R>
pub fn min(&self) -> R
[src]
pub fn min(&self) -> R
pub fn max(&self) -> R
[src]
pub fn max(&self) -> R
pub fn to_value(&self) -> Option<T>
[src]
pub fn to_value(&self) -> Option<T>
pub fn as_value(&self) -> Option<&T>
[src]
pub fn as_value(&self) -> Option<&T>
pub fn iter(&self) -> Iter<'a, T>
[src]
pub fn iter(&self) -> Iter<'a, T>
impl<'a, T, R> RangedParameter<'a, T, R> where
R: 'static + Sub<R, Output = R> + Clone + Debug,
T: 'a + Clone + Debug,
[src]
impl<'a, T, R> RangedParameter<'a, T, R> where
R: 'static + Sub<R, Output = R> + Clone + Debug,
T: 'a + Clone + Debug,
impl<'a, T, R> RangedParameter<'a, T, R> where
R: Clone + ToPrimitive + Sub<R, Output = R> + Debug + 'static,
T: Sub<T, Output = T> + Clone + Debug + ToPrimitive + FromPrimitive + 'static,
[src]
impl<'a, T, R> RangedParameter<'a, T, R> where
R: Clone + ToPrimitive + Sub<R, Output = R> + Debug + 'static,
T: Sub<T, Output = T> + Clone + Debug + ToPrimitive + FromPrimitive + 'static,
Trait Implementations
impl<'a, T, R> Debug for RangedParameter<'a, T, R> where
R: Debug + Debug,
T: Debug + Debug,
[src]
impl<'a, T, R> Debug for RangedParameter<'a, T, R> where
R: Debug + Debug,
T: Debug + Debug,
impl<'a, T, R> PartialEq<RangedParameter<'a, T, R>> for RangedParameter<'a, T, R> where
R: PartialEq<R> + Clone + Debug,
T: 'a + PartialEq<T> + Clone + Debug,
[src]
impl<'a, T, R> PartialEq<RangedParameter<'a, T, R>> for RangedParameter<'a, T, R> where
R: PartialEq<R> + Clone + Debug,
T: 'a + PartialEq<T> + Clone + Debug,
fn eq(&self, other: &RangedParameter<'a, T, R>) -> bool
[src]
fn eq(&self, other: &RangedParameter<'a, T, R>) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<'a, T, R> Clone for RangedParameter<'a, T, R> where
R: Clone + Debug,
T: Clone + Debug,
[src]
impl<'a, T, R> Clone for RangedParameter<'a, T, R> where
R: Clone + Debug,
T: Clone + Debug,
fn clone(&self) -> RangedParameter<'a, T, R>
[src]
fn clone(&self) -> RangedParameter<'a, T, R>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, T, R> Serialize for RangedParameter<'a, T, R> where
R: Clone + Debug + Serialize,
T: 'a + Clone + Debug + Serialize,
[src]
impl<'a, T, R> Serialize for RangedParameter<'a, T, R> where
R: Clone + Debug + Serialize,
T: 'a + Clone + Debug + Serialize,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<T: Debug> ControlBuilt<RangedParameter<'static, T, T>> for ReadnOnlyRange<T> where
T: FromPrimitive + Sub<Output = T> + Clone + ToPrimitive + Display + PartialEq + Debug + 'static,
[src]
impl<T: Debug> ControlBuilt<RangedParameter<'static, T, T>> for ReadnOnlyRange<T> where
T: FromPrimitive + Sub<Output = T> + Clone + ToPrimitive + Display + PartialEq + Debug + 'static,
type Builder = ReadnOnlyRangeBuilder<T>
impl ControlBuilt<RangedParameter<'static, Vec<f32>, f32>> for Graph
[src]
impl ControlBuilt<RangedParameter<'static, Vec<f32>, f32>> for Graph
type Builder = GraphBuilder
impl<T: Debug> BuilderFromProperty<RangedParameter<'static, T, T>> for ReadnOnlyRangeBuilder<T> where
T: FromPrimitive + Sub<Output = T> + Clone + ToPrimitive + Display + PartialEq + Debug + 'static,
[src]
impl<T: Debug> BuilderFromProperty<RangedParameter<'static, T, T>> for ReadnOnlyRangeBuilder<T> where
T: FromPrimitive + Sub<Output = T> + Clone + ToPrimitive + Display + PartialEq + Debug + 'static,
fn from_parameter<S: StreamT<'static, Event>>(
parameter: RangedParameter<'static, T>,
name: &str,
events: S
) -> ReadnOnlyRangeBuilder<T>
[src]
fn from_parameter<S: StreamT<'static, Event>>(
parameter: RangedParameter<'static, T>,
name: &str,
events: S
) -> ReadnOnlyRangeBuilder<T>
impl<T: Debug> ControlDefaultProperty for RangedParameter<'static, T> where
T: FromPrimitive + Sub<Output = T> + Clone + ToPrimitive + Display + PartialEq + Debug + 'static,
[src]
impl<T: Debug> ControlDefaultProperty for RangedParameter<'static, T> where
T: FromPrimitive + Sub<Output = T> + Clone + ToPrimitive + Display + PartialEq + Debug + 'static,
type Builder = ReadnOnlyRangeBuilder<T>
impl ControlDefaultProperty for RangedParameter<'static, Vec<f32>, f32>
[src]
impl ControlDefaultProperty for RangedParameter<'static, Vec<f32>, f32>
type Builder = GraphBuilder
Auto Trait Implementations
impl<'a, T, R = T> !Send for RangedParameter<'a, T, R>
impl<'a, T, R = T> !Send for RangedParameter<'a, T, R>
impl<'a, T, R = T> !Sync for RangedParameter<'a, T, R>
impl<'a, T, R = T> !Sync for RangedParameter<'a, T, R>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
[src]
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
[src]
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
[src]
fn from_subset(element: &SS) -> SP
impl<T> Any for T where
T: Any,
[src]
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> SetParameter for T
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<V> IntoVec for V
[src]
impl<V> IntoVec for V
impl<V> IntoPnt for V
[src]
impl<V> IntoPnt for V