pub struct ImplInfo {
pub target: String,
pub trait_name: Option<String>,
pub methods: Vec<FunctionInfo>,
}Expand description
Information about an implementation block.
Fields§
§target: StringThe type being implemented (e.g., “MyStruct”, “Vec
trait_name: Option<String>Name of the trait being implemented, if this is a trait impl.
methods: Vec<FunctionInfo>List of methods defined in the implementation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImplInfo
impl<'de> Deserialize<'de> for ImplInfo
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 ImplInfo
impl RefUnwindSafe for ImplInfo
impl Send for ImplInfo
impl Sync for ImplInfo
impl Unpin for ImplInfo
impl UnwindSafe for ImplInfo
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