pub struct InherentImplDetails {
pub self_ty: String,
pub generics: Vec<GenericParam>,
pub where_clause: Option<String>,
pub is_unsafe: bool,
pub methods: Vec<MethodDetails>,
pub assoc_consts: Vec<AssocConstInfo>,
pub assoc_types: Vec<AssocTypeInfo>,
pub source: Option<String>,
pub span: Option<SpanInfo>,
}Expand description
Detailed information about an inherent impl block.
Fieldsยง
ยงself_ty: StringThe type this impl is for
generics: Vec<GenericParam>Generic parameters
where_clause: Option<String>Where clause
is_unsafe: boolWhether this is an unsafe impl
methods: Vec<MethodDetails>Methods in this impl
assoc_consts: Vec<AssocConstInfo>Associated constants
assoc_types: Vec<AssocTypeInfo>Associated types
source: Option<String>The full source code
span: Option<SpanInfo>Trait Implementationsยง
Sourceยงimpl Clone for InherentImplDetails
impl Clone for InherentImplDetails
Sourceยงfn clone(&self) -> InherentImplDetails
fn clone(&self) -> InherentImplDetails
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 InherentImplDetails
impl Debug for InherentImplDetails
Sourceยงimpl<'de> Deserialize<'de> for InherentImplDetails
impl<'de> Deserialize<'de> for InherentImplDetails
Sourceยงfn deserialize<__D>(
__deserializer: __D,
) -> Result<InherentImplDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InherentImplDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Serialize for InherentImplDetails
impl Serialize for InherentImplDetails
Sourceยงfn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementationsยง
impl Freeze for InherentImplDetails
impl RefUnwindSafe for InherentImplDetails
impl Send for InherentImplDetails
impl Sync for InherentImplDetails
impl Unpin for InherentImplDetails
impl UnwindSafe for InherentImplDetails
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