pub struct IntRange<T> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for IntRange<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for IntRange<T>where
T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> FromValue<'a> for IntRange<i32>
impl<'a> FromValue<'a> for IntRange<i32>
§type Checker = GenericValueTypeChecker<IntRange<i32>>
type Checker = GenericValueTypeChecker<IntRange<i32>>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for IntRange<i64>
impl<'a> FromValue<'a> for IntRange<i64>
§type Checker = GenericValueTypeChecker<IntRange<i64>>
type Checker = GenericValueTypeChecker<IntRange<i64>>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<T: PartialEq> PartialEq for IntRange<T>
impl<T: PartialEq> PartialEq for IntRange<T>
source§impl StaticType for IntRange<i32>
impl StaticType for IntRange<i32>
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl StaticType for IntRange<i64>
impl StaticType for IntRange<i64>
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl<T: Copy> Copy for IntRange<T>
impl<T: Eq> Eq for IntRange<T>
impl<T> StructuralPartialEq for IntRange<T>
Auto Trait Implementations§
impl<T> Freeze for IntRange<T>where
T: Freeze,
impl<T> RefUnwindSafe for IntRange<T>where
T: RefUnwindSafe,
impl<T> Send for IntRange<T>where
T: Send,
impl<T> Sync for IntRange<T>where
T: Sync,
impl<T> Unpin for IntRange<T>where
T: Unpin,
impl<T> UnwindSafe for IntRange<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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.