pub struct TypeDescription {
pub docs: Vec<String>,
pub names: TypeNames,
pub contents: TypeContents,
pub macro_attributes: Vec<String>,
}
Fields§
§docs: Vec<String>
§names: TypeNames
§contents: TypeContents
§macro_attributes: Vec<String>
Implementations§
Source§impl TypeDescription
impl TypeDescription
Sourcepub const PLACEHOLDER: TypeDescription
pub const PLACEHOLDER: TypeDescription
Used as temporary value. To avoid an infinite loop for recursive types, we must reserve the type key (type name) before computing its fields. We use this as value while the fields are being computed.
Trait Implementations§
Source§impl Clone for TypeDescription
impl Clone for TypeDescription
Source§fn clone(&self) -> TypeDescription
fn clone(&self) -> TypeDescription
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TypeDescription
impl RefUnwindSafe for TypeDescription
impl Send for TypeDescription
impl Sync for TypeDescription
impl Unpin for TypeDescription
impl UnwindSafe for TypeDescription
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