pub struct ImplInfo {
pub target: String,
pub trait_name: Option<String>,
pub methods: Vec<String>,
pub line_number: usize,
}Expand description
Information about an implementation block
Fields§
§target: StringTarget type being implemented
trait_name: Option<String>Trait being implemented (if any)
methods: Vec<String>Methods in the implementation
line_number: usizeLine number where the impl block starts
Trait Implementations§
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