pub struct FramedComponent { /* private fields */ }Expand description
A u32 keypath component pre-framed at compile time: the exact bytes
Keypath::child would append for the same value, built through the
same CXS codec.
The only constructor is from_u32, which does the
framing itself — malformed or aliased frames are unrepresentable, so
Keypath::child_framed cannot be handed raw bytes.
Trait Implementations§
Source§impl Clone for FramedComponent
impl Clone for FramedComponent
impl Copy for FramedComponent
Auto Trait Implementations§
impl Freeze for FramedComponent
impl RefUnwindSafe for FramedComponent
impl Send for FramedComponent
impl Sync for FramedComponent
impl Unpin for FramedComponent
impl UnsafeUnpin for FramedComponent
impl UnwindSafe for FramedComponent
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