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]
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]
property: Property<'a, T>,
range: Range<R>
) -> RangedPropertyMut<'a, T, R>
pub fn from_property_log_scale(
property: Property<'a, T>,
range: Range<R>
) -> RangedPropertyMut<'a, T, R>
[src]
property: Property<'a, T>,
range: Range<R>
) -> RangedPropertyMut<'a, T, R>
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]
F: 'a + FnMut(T) -> T2,
T2: Clone,
pub fn try_iter<'b>(self) -> TryIter<'b, T>ⓘ where
'a: 'b,
[src]
'a: 'b,
pub fn to_parameter<'b>(self) -> Parameter<'b, T> where
'a: 'b,
[src]
'a: 'b,
impl<'a, T, R> RangedPropertyMut<'a, T, R> where
T: Clone,
R: Clone,
[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]
impl<'a, T, R> RangedPropertyMut<'a, T, R> where
T: 'a + Clone,
R: 'static + Sub<R, Output = R> + Clone,
[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]
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]Trait Implementations
impl<'a, T, R> AsRef<T> for RangedPropertyMut<'a, T, R> where
T: Clone,
[src]
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> 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> Clone for RangedPropertyMut<'a, T, R> where
T: 'static + Clone,
R: Clone,
[src]pub fn clone(&self) -> RangedPropertyMut<'a, T, R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T, R> Debug for RangedPropertyMut<'a, T, R> where
T: 'static + Debug + Clone,
R: Debug,
[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<'de, 'a, T, R> Deserialize<'de> for RangedPropertyMut<'a, T, R> where
T: 'static + Clone + Deserialize<'de>,
R: Deserialize<'de>,
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RangedPropertyMut<'a, T, R>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<RangedPropertyMut<'a, T, R>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<'a, T, R> Serialize for RangedPropertyMut<'a, T, R> where
T: 'static + Clone + Serialize,
R: Serialize,
[src]
impl<'a, T, R> Serialize for RangedPropertyMut<'a, T, R> where
T: 'static + Clone + Serialize,
R: 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 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,
R: Unpin,
impl<'a, T, R = T> !UnwindSafe for RangedPropertyMut<'a, T, R>
Blanket Implementations
impl<C> AsUniform<CubeMap> for C where
C: Borrow<CubeMap>,
[src]
impl<C> AsUniform<CubeMap> for C where
C: Borrow<CubeMap>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<'a, C> AsUniform<CubeMapSampler<'a>> for C where
C: Borrow<CubeMapSampler<'a>>,
[src]
impl<'a, C> AsUniform<CubeMapSampler<'a>> for C where
C: Borrow<CubeMapSampler<'a>>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<Texture> for T where
T: Borrow<Texture>,
[src]
impl<T> AsUniform<Texture> for T where
T: Borrow<Texture>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<'a, T> AsUniform<TextureSampler<'a>> for T where
T: Borrow<TextureSampler<'a>>,
[src]
impl<'a, T> AsUniform<TextureSampler<'a>> for T where
T: Borrow<TextureSampler<'a>>,
[src]pub fn as_uniform(&self) -> UniformValue
[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; 3]; 3]> + 'static> for T where
T: AsRef<[[f32; 3]; 3]>,
[src]pub fn as_uniform(&self) -> UniformValue
[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; 4]; 4]> + 'static> for T where
T: AsRef<[[f32; 4]; 4]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[f32; 2]> + 'static> for T where
T: AsRef<[f32; 2]>,
[src]
impl<T> AsUniform<dyn AsRef<[f32; 2]> + 'static> for T where
T: AsRef<[f32; 2]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[f32; 3]> + 'static> for T where
T: AsRef<[f32; 3]>,
[src]
impl<T> AsUniform<dyn AsRef<[f32; 3]> + 'static> for T where
T: AsRef<[f32; 3]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[f32; 4]> + 'static> for T where
T: AsRef<[f32; 4]>,
[src]
impl<T> AsUniform<dyn AsRef<[f32; 4]> + 'static> for T where
T: AsRef<[f32; 4]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[f32; 9]> + 'static> for T where
T: AsRef<[f32; 9]>,
[src]
impl<T> AsUniform<dyn AsRef<[f32; 9]> + 'static> for T where
T: AsRef<[f32; 9]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[i32; 2]> + 'static> for T where
T: AsRef<[i32; 2]>,
[src]
impl<T> AsUniform<dyn AsRef<[i32; 2]> + 'static> for T where
T: AsRef<[i32; 2]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[i32; 3]> + 'static> for T where
T: AsRef<[i32; 3]>,
[src]
impl<T> AsUniform<dyn AsRef<[i32; 3]> + 'static> for T where
T: AsRef<[i32; 3]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[i32; 4]> + 'static> for T where
T: AsRef<[i32; 4]>,
[src]
impl<T> AsUniform<dyn AsRef<[i32; 4]> + 'static> for T where
T: AsRef<[i32; 4]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[u32; 2]> + 'static> for T where
T: AsRef<[u32; 2]>,
[src]
impl<T> AsUniform<dyn AsRef<[u32; 2]> + 'static> for T where
T: AsRef<[u32; 2]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[u32; 3]> + 'static> for T where
T: AsRef<[u32; 3]>,
[src]
impl<T> AsUniform<dyn AsRef<[u32; 3]> + 'static> for T where
T: AsRef<[u32; 3]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> AsUniform<dyn AsRef<[u32; 4]> + 'static> for T where
T: AsRef<[u32; 4]>,
[src]
impl<T> AsUniform<dyn AsRef<[u32; 4]> + 'static> for T where
T: AsRef<[u32; 4]>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<A> AsUniform<dyn AsRef<f32> + 'static> for A where
A: AsRef<f32>,
[src]
impl<A> AsUniform<dyn AsRef<f32> + 'static> for A where
A: AsRef<f32>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<A> AsUniform<dyn AsRef<i32> + 'static> for A where
A: AsRef<i32>,
[src]
impl<A> AsUniform<dyn AsRef<i32> + 'static> for A where
A: AsRef<i32>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<A> AsUniform<dyn AsRef<u32> + 'static> for A where
A: AsRef<u32>,
[src]
impl<A> AsUniform<dyn AsRef<u32> + 'static> for A where
A: AsRef<u32>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
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]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<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,