pub struct PromptOption<N> { /* private fields */ }
Trait Implementations§
Source§impl<N: Clone> Clone for PromptOption<N>
impl<N: Clone> Clone for PromptOption<N>
Source§fn clone(&self) -> PromptOption<N>
fn clone(&self) -> PromptOption<N>
Returns a duplicate 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 From<IntegerType> for PromptOption<i64>
impl From<IntegerType> for PromptOption<i64>
Source§fn from(value: IntegerType) -> Self
fn from(value: IntegerType) -> Self
Converts to this type from the input type.
Source§impl From<NumberType> for PromptOption<f64>
impl From<NumberType> for PromptOption<f64>
Source§fn from(value: NumberType) -> Self
fn from(value: NumberType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<N> Freeze for PromptOption<N>where
N: Freeze,
impl<N> RefUnwindSafe for PromptOption<N>where
N: RefUnwindSafe,
impl<N> Send for PromptOption<N>where
N: Send,
impl<N> Sync for PromptOption<N>where
N: Sync,
impl<N> Unpin for PromptOption<N>where
N: Unpin,
impl<N> UnwindSafe for PromptOption<N>where
N: UnwindSafe,
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