pub enum SliderScale {
Linear,
Logarithmic,
}๐Deprecated:
use ValueMapping with SliderState::mapping
Expand description
Deprecated: use ValueMapping and SliderState::mapping instead.
Variantsยง
Linear
๐Deprecated:
use ValueMapping with SliderState::mapping
Logarithmic
๐Deprecated:
use ValueMapping with SliderState::mapping
Implementationsยง
Sourceยงimpl SliderScale
impl SliderScale
Trait Implementationsยง
Sourceยงimpl Clone for SliderScale
impl Clone for SliderScale
impl Copy for SliderScale
Sourceยงimpl Debug for SliderScale
impl Debug for SliderScale
Sourceยงimpl Default for SliderScale
impl Default for SliderScale
impl Eq for SliderScale
Sourceยงimpl From<SliderScale> for ValueMapping
impl From<SliderScale> for ValueMapping
Sourceยงfn from(scale: SliderScale) -> Self
fn from(scale: SliderScale) -> Self
Converts to this type from the input type.
Sourceยงimpl PartialEq for SliderScale
impl PartialEq for SliderScale
impl StructuralPartialEq for SliderScale
Auto Trait Implementationsยง
impl Forget for SliderScale
impl Freeze for SliderScale
impl Move for SliderScale
impl RefUnwindSafe for SliderScale
impl Send for SliderScale
impl Sync for SliderScale
impl Unpin for SliderScale
impl UnsafeUnpin for SliderScale
impl UnwindSafe for SliderScale
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self> โ
fn instrument(self, span: Span) -> Instrumented<Self> โ
Sourceยงfn in_current_span(self) -> Instrumented<Self> โ
fn in_current_span(self) -> Instrumented<Self> โ
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Sourceยงimpl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Sourceยงfn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().