Struct rust_query::value::UnwrapOr
source · pub struct UnwrapOr<A, B>(/* private fields */);
Trait Implementations§
source§impl<'t, A: Value<'t>, B: Value<'t>> Value<'t> for UnwrapOr<A, B>
impl<'t, A: Value<'t>, B: Value<'t>> Value<'t> for UnwrapOr<A, B>
type Typ = <B as Value<'t>>::Typ
fn add<T: Value<'t>>(self, rhs: T) -> MyAdd<Self, T>
fn lt(self, rhs: i32) -> MyLt<Self>
fn eq<T: Value<'t, Typ = Self::Typ>>(self, rhs: T) -> MyEq<Self, T>
fn unwrap_or<T: Value<'t>>(self, rhs: T) -> UnwrapOr<Self, T>
fn is_not_null(self) -> IsNotNull<Self>
impl<A: Copy, B: Copy> Copy for UnwrapOr<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for UnwrapOr<A, B>
impl<A, B> RefUnwindSafe for UnwrapOr<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for UnwrapOr<A, B>
impl<A, B> Sync for UnwrapOr<A, B>
impl<A, B> Unpin for UnwrapOr<A, B>
impl<A, B> UnwindSafe for UnwrapOr<A, B>where
A: UnwindSafe,
B: 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