pub struct AssocTypeInfo {
pub name: String,
pub ty: Option<String>,
pub bounds: Vec<String>,
pub default: Option<String>,
pub docs: Option<String>,
pub span: Option<SpanInfo>,
}Expand description
Associated type information.
Fieldsยง
ยงname: Stringยงty: Option<String>The concrete type (in an impl)
bounds: Vec<String>Bounds (in a trait definition)
default: Option<String>Default type (in a trait definition)
docs: Option<String>ยงspan: Option<SpanInfo>Trait Implementationsยง
Sourceยงimpl Clone for AssocTypeInfo
impl Clone for AssocTypeInfo
Sourceยงfn clone(&self) -> AssocTypeInfo
fn clone(&self) -> AssocTypeInfo
Returns a duplicate 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 moreSourceยงimpl Debug for AssocTypeInfo
impl Debug for AssocTypeInfo
Sourceยงimpl<'de> Deserialize<'de> for AssocTypeInfo
impl<'de> Deserialize<'de> for AssocTypeInfo
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
Auto Trait Implementationsยง
impl Freeze for AssocTypeInfo
impl RefUnwindSafe for AssocTypeInfo
impl Send for AssocTypeInfo
impl Sync for AssocTypeInfo
impl Unpin for AssocTypeInfo
impl UnwindSafe for AssocTypeInfo
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