Struct jammdb::Ref [−][src]
A wrapper around data to ensure it is used before a bucket goes out of scope
Trait Implementations
impl<'a, T: Debug> Debug for Ref<'a, T>
[src]
impl<'a, T> Deref for Ref<'a, T>
[src]
impl<'a, T: Eq> Eq for Ref<'a, T>
[src]
impl<'a, T: Ord> Ord for Ref<'a, T>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a, T: PartialEq> PartialEq<Ref<'a, T>> for Ref<'a, T>
[src]
impl<'a, T: PartialOrd> PartialOrd<Ref<'a, T>> for Ref<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Ref<'a, T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<'a, T> Send for Ref<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Sync for Ref<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Unpin for Ref<'a, T> where
T: Unpin,
[src]
T: Unpin,
impl<'a, T> UnwindSafe for Ref<'a, T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,