pub struct ValueDecodeRef {
pub describe: fn() -> ValueDecodeType,
}Expand description
Lazy typed reference, allowing recursive descriptions without recursive constants.
Fields§
§describe: fn() -> ValueDecodeTypeObtain the original type identity and its recipe during packaging.
Implementations§
Source§impl ValueDecodeRef
impl ValueDecodeRef
Sourcepub const fn of<T: ValueDecode>() -> Self
pub const fn of<T: ValueDecode>() -> Self
Bind a recipe to its original Rust type, including delegated representations.
Trait Implementations§
Source§impl Clone for ValueDecodeRef
impl Clone for ValueDecodeRef
impl Copy for ValueDecodeRef
Auto Trait Implementations§
impl Freeze for ValueDecodeRef
impl RefUnwindSafe for ValueDecodeRef
impl Send for ValueDecodeRef
impl Sync for ValueDecodeRef
impl Unpin for ValueDecodeRef
impl UnsafeUnpin for ValueDecodeRef
impl UnwindSafe for ValueDecodeRef
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