pub struct OptionsInput(/* private fields */);
Implementations§
source§impl OptionsInput
impl OptionsInput
pub fn new(data: ManagedLazy<impl OptionsViewProxy + 'static>) -> Self
pub fn into_inner(self) -> ManagedLazy<dyn OptionsViewProxy>
pub fn get<T: TryFrom<usize> + Default>(&self) -> T
pub fn set<T: TryInto<usize>>(&mut self, value: T)
Trait Implementations§
source§impl Clone for OptionsInput
impl Clone for OptionsInput
source§fn clone(&self) -> OptionsInput
fn clone(&self) -> OptionsInput
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 OptionsInput
impl Debug for OptionsInput
source§impl<T: OptionsViewProxy + 'static> From<ManagedLazy<T>> for OptionsInput
impl<T: OptionsViewProxy + 'static> From<ManagedLazy<T>> for OptionsInput
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 OptionsInput
impl !RefUnwindSafe for OptionsInput
impl Send for OptionsInput
impl Sync for OptionsInput
impl Unpin for OptionsInput
impl !UnwindSafe for OptionsInput
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
)