Struct bonsaidb_core::connection::Range
source · [−]Expand description
A range type that can represent all std range types and be serialized.
Fields
start: Bound<T>The start of the range.
end: Bound<T>The end of the range.
Implementations
Trait Implementations
sourceimpl<'de, T> Deserialize<'de> for Range<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Range<T> where
T: Deserialize<'de>,
sourcefn 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
sourceimpl<T: Clone> From<RangeInclusive<T>> for Range<T>
impl<T: Clone> From<RangeInclusive<T>> for Range<T>
sourcefn from(range: RangeInclusive<T>) -> Self
fn from(range: RangeInclusive<T>) -> Self
Performs the conversion.
sourceimpl<T> From<RangeToInclusive<T>> for Range<T>
impl<T> From<RangeToInclusive<T>> for Range<T>
sourcefn from(range: RangeToInclusive<T>) -> Self
fn from(range: RangeToInclusive<T>) -> Self
Performs the conversion.
sourceimpl<T> RangeBounds<T> for Range<T>
impl<T> RangeBounds<T> for Range<T>
impl<T: Copy> Copy for Range<T>
impl<T: Eq> Eq for Range<T>
impl<T> StructuralEq for Range<T>
impl<T> StructuralPartialEq for Range<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Range<T> where
T: RefUnwindSafe,
impl<T> Send for Range<T> where
T: Send,
impl<T> Sync for Range<T> where
T: Sync,
impl<T> Unpin for Range<T> where
T: Unpin,
impl<T> UnwindSafe for Range<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more