pub struct CustomType<Field> {
pub doc: String,
pub fields: Vec<Field>,
}
Expand description
Any user defined type like: struct
, enum
Fields§
§doc: String
§fields: Vec<Field>
Implementations§
Auto Trait Implementations§
impl<Field> Freeze for CustomType<Field>
impl<Field> RefUnwindSafe for CustomType<Field>where
Field: RefUnwindSafe,
impl<Field> Send for CustomType<Field>where
Field: Send,
impl<Field> Sync for CustomType<Field>where
Field: Sync,
impl<Field> Unpin for CustomType<Field>where
Field: Unpin,
impl<Field> UnwindSafe for CustomType<Field>where
Field: UnwindSafe,
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