pub struct SliderInput(/* private fields */);
Implementations§
source§impl SliderInput
impl SliderInput
pub fn new(data: ManagedLazy<impl SliderViewProxy + 'static>) -> Self
pub fn into_inner(self) -> ManagedLazy<dyn SliderViewProxy>
pub fn get<T: TryFrom<Scalar> + Default>(&self) -> T
pub fn set<T: TryInto<Scalar>>(&mut self, value: T)
Trait Implementations§
source§impl Clone for SliderInput
impl Clone for SliderInput
source§fn clone(&self) -> SliderInput
fn clone(&self) -> SliderInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SliderInput
impl Debug for SliderInput
source§impl<T: SliderViewProxy + 'static> From<ManagedLazy<T>> for SliderInput
impl<T: SliderViewProxy + 'static> From<ManagedLazy<T>> for SliderInput
source§fn from(value: ManagedLazy<T>) -> Self
fn from(value: ManagedLazy<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SliderInput
impl !RefUnwindSafe for SliderInput
impl Send for SliderInput
impl Sync for SliderInput
impl Unpin for SliderInput
impl !UnwindSafe for SliderInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)