pub struct TypeDescriptor<T>where
T: 'static,{
pub name: &'static str,
pub fields: &'static [TypeFieldDescriptor<T>],
/* private fields */
}Fields§
§name: &'static str§fields: &'static [TypeFieldDescriptor<T>]Implementations§
Source§impl<T> TypeDescriptor<T>
impl<T> TypeDescriptor<T>
pub const fn new( name: &'static str, fields: &'static [TypeFieldDescriptor<T>], ) -> TypeDescriptor<T>
Auto Trait Implementations§
impl<T> Freeze for TypeDescriptor<T>
impl<T> RefUnwindSafe for TypeDescriptor<T>
impl<T> Send for TypeDescriptor<T>
impl<T> Sync for TypeDescriptor<T>
impl<T> Unpin for TypeDescriptor<T>
impl<T> UnsafeUnpin for TypeDescriptor<T>
impl<T> UnwindSafe for TypeDescriptor<T>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.