pub struct ParameterOptions<P> {
pub default: Option<P>,
pub minimum: Option<P>,
pub maximum: Option<P>,
}
Fields§
§default: Option<P>
§minimum: Option<P>
§maximum: Option<P>
Trait Implementations§
Source§impl<P: Clone> Clone for ParameterOptions<P>
impl<P: Clone> Clone for ParameterOptions<P>
Source§fn clone(&self) -> ParameterOptions<P>
fn clone(&self) -> ParameterOptions<P>
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 moreAuto Trait Implementations§
impl<P> Freeze for ParameterOptions<P>where
P: Freeze,
impl<P> RefUnwindSafe for ParameterOptions<P>where
P: RefUnwindSafe,
impl<P> Send for ParameterOptions<P>where
P: Send,
impl<P> Sync for ParameterOptions<P>where
P: Sync,
impl<P> Unpin for ParameterOptions<P>where
P: Unpin,
impl<P> UnwindSafe for ParameterOptions<P>where
P: 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