pub struct CodecProjection;Expand description
Projects a declared shape into the codec that reads and writes its canonical bytes.
One rendered unit, at the declaration site: the surface is Rust the caller’s normal build compiles, whether it is spliced beside the owner’s item or wrapped in a published module.
Trait Implementations§
Source§impl Clone for CodecProjection
impl Clone for CodecProjection
Source§fn clone(&self) -> CodecProjection
fn clone(&self) -> CodecProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodecProjection
Source§impl Debug for CodecProjection
impl Debug for CodecProjection
impl Eq for CodecProjection
Source§impl Hash for CodecProjection
impl Hash for CodecProjection
Source§impl Kind for CodecProjection
impl Kind for CodecProjection
Source§const NAME: &'static str = "codec-projection"
const NAME: &'static str = "codec-projection"
The name this kind is spelled by wherever a name is written down. Read more
Source§type Content = CodecContent
type Content = CodecContent
The facts a request of this kind carries beyond its captured tokens. Read more
Source§type Question = NoQuestions
type Question = NoQuestions
The questions this kind owes beyond the universal ones.
Source§impl PartialEq for CodecProjection
impl PartialEq for CodecProjection
impl StructuralPartialEq for CodecProjection
Auto Trait Implementations§
impl Freeze for CodecProjection
impl RefUnwindSafe for CodecProjection
impl Send for CodecProjection
impl Sync for CodecProjection
impl Unpin for CodecProjection
impl UnsafeUnpin for CodecProjection
impl UnwindSafe for CodecProjection
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