pub struct RefTo<K>(/* private fields */);Expand description
A reference of kind(s) K, kept as the resolved id.
Trait Implementations§
Source§impl<K: Kinds> With<<K as Kinds>::Id> for RefTo<K>
impl<K: Kinds> With<<K as Kinds>::Id> for RefTo<K>
Source§fn write_text(f: &K::Id, w: &mut Writer)
fn write_text(f: &K::Id, w: &mut Writer)
The field as text, straight: its value as text unless the codec
knows better (see
Schema::write_text).Source§fn pack(f: &K::Id, p: &mut Packer)
fn pack(f: &K::Id, p: &mut Packer)
The field packed into a frame: its binary form as bytes unless the
codec knows better.
Auto Trait Implementations§
impl<K> Freeze for RefTo<K>where
PhantomData<K>: Freeze,
impl<K> RefUnwindSafe for RefTo<K>where
PhantomData<K>: RefUnwindSafe,
impl<K> Send for RefTo<K>where
PhantomData<K>: Send,
impl<K> Sync for RefTo<K>where
PhantomData<K>: Sync,
impl<K> Unpin for RefTo<K>where
PhantomData<K>: Unpin,
impl<K> UnsafeUnpin for RefTo<K>where
PhantomData<K>: UnsafeUnpin,
impl<K> UnwindSafe for RefTo<K>where
PhantomData<K>: 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