Struct InRef
pub struct InRef<'a, T: Type<T>>(/* private fields */);Expand description
A borrowed ABI-compatible input parameter.
Implementations§
Trait Implementations§
§impl<'a, T> From<&'a Option<T>> for InRef<'a, T>where
T: TypeKind<TypeKind = InterfaceType> + Type<T, InterfaceType>,
impl<'a, T> From<&'a Option<T>> for InRef<'a, T>where
T: TypeKind<TypeKind = InterfaceType> + Type<T, InterfaceType>,
Auto Trait Implementations§
impl<'a, T> Freeze for InRef<'a, T>
impl<'a, T> RefUnwindSafe for InRef<'a, T>
impl<'a, T> Send for InRef<'a, T>
impl<'a, T> Sync for InRef<'a, T>
impl<'a, T> Unpin for InRef<'a, T>
impl<'a, T> UnsafeUnpin for InRef<'a, T>
impl<'a, T> UnwindSafe for InRef<'a, T>
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