pub struct TypeInfo<F: Form = MetaForm> {
pub type_id: F::Type,
}Fields§
§type_id: F::TypeTrait Implementations§
Source§impl<'de, F: Form> Deserialize<'de> for TypeInfo<F>
impl<'de, F: Form> Deserialize<'de> for TypeInfo<F>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoPortable for TypeInfo
impl IntoPortable for TypeInfo
Source§type Output = TypeInfo<PortableForm>
type Output = TypeInfo<PortableForm>
The portable version of
Self.Source§fn into_portable(self, registry: &mut Registry) -> Self::Output
fn into_portable(self, registry: &mut Registry) -> Self::Output
Convert
self to the portable form by using the registry for caching.Auto Trait Implementations§
impl<F> Freeze for TypeInfo<F>
impl<F> RefUnwindSafe for TypeInfo<F>
impl<F> Send for TypeInfo<F>
impl<F> Sync for TypeInfo<F>
impl<F> Unpin for TypeInfo<F>
impl<F> UnwindSafe for TypeInfo<F>
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