pub struct TraitImpl {
pub file: String,
pub trait_name: String,
pub span: Span,
}Expand description
An impl block naming the trait it implements (impl Runner for Widget).
Pairing fact for dynamic-dispatch edges: methods defined inside span
implement the same-named methods of the trait trait_name resolves to.
Fields§
§file: String§trait_name: StringTrait name as written (leaf segment for qualified paths).
span: SpanSpan of the whole impl block.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraitImpl
impl<'de> Deserialize<'de> for TraitImpl
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
impl Eq for TraitImpl
Source§impl Ord for TraitImpl
impl Ord for TraitImpl
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TraitImpl
impl PartialOrd for TraitImpl
impl StructuralPartialEq for TraitImpl
Auto Trait Implementations§
impl Freeze for TraitImpl
impl RefUnwindSafe for TraitImpl
impl Send for TraitImpl
impl Sync for TraitImpl
impl Unpin for TraitImpl
impl UnsafeUnpin for TraitImpl
impl UnwindSafe for TraitImpl
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