pub struct NumericalParameterRangeBound<T> {
pub inclusive: bool,
pub bound: T,
}Fields§
§inclusive: bool§bound: TImplementations§
Source§impl<T: Copy> NumericalParameterRangeBound<T>
impl<T: Copy> NumericalParameterRangeBound<T>
pub fn copy_with<N>( self, f: impl FnOnce(T) -> N, ) -> NumericalParameterRangeBound<N>
pub fn copy_with_ref<N>( self, f: &mut impl FnMut(T) -> N, ) -> NumericalParameterRangeBound<N>
pub fn try_copy_with<N>( self, f: impl FnOnce(T) -> Option<N>, ) -> Option<NumericalParameterRangeBound<N>>
pub fn try_copy_with_ref<N>( self, f: &mut impl FnMut(T) -> Option<N>, ) -> Option<NumericalParameterRangeBound<N>>
Trait Implementations§
Source§impl<T: Clone> Clone for NumericalParameterRangeBound<T>
impl<T: Clone> Clone for NumericalParameterRangeBound<T>
Source§fn clone(&self) -> NumericalParameterRangeBound<T>
fn clone(&self) -> NumericalParameterRangeBound<T>
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<T: Debug> Debug for NumericalParameterRangeBound<T>
impl<T: Debug> Debug for NumericalParameterRangeBound<T>
Source§impl<T: PartialEq> PartialEq for NumericalParameterRangeBound<T>
impl<T: PartialEq> PartialEq for NumericalParameterRangeBound<T>
Source§fn eq(&self, other: &NumericalParameterRangeBound<T>) -> bool
fn eq(&self, other: &NumericalParameterRangeBound<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Copy> Copy for NumericalParameterRangeBound<T>
impl<T> StructuralPartialEq for NumericalParameterRangeBound<T>
Auto Trait Implementations§
impl<T> Freeze for NumericalParameterRangeBound<T>where
T: Freeze,
impl<T> RefUnwindSafe for NumericalParameterRangeBound<T>where
T: RefUnwindSafe,
impl<T> Send for NumericalParameterRangeBound<T>where
T: Send,
impl<T> Sync for NumericalParameterRangeBound<T>where
T: Sync,
impl<T> Unpin for NumericalParameterRangeBound<T>where
T: Unpin,
impl<T> UnwindSafe for NumericalParameterRangeBound<T>where
T: 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