pub enum ImplItem {
Method(Function),
Type(TypeAlias),
Const(Const),
}Expand description
Represents items within an impl block.
Variants§
Method(Function)
A method implementation
Type(TypeAlias)
An associated type implementation
Const(Const)
An associated constant
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImplItem
impl<'de> Deserialize<'de> for ImplItem
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 ImplItem
impl StructuralPartialEq for ImplItem
Auto Trait Implementations§
impl Freeze for ImplItem
impl RefUnwindSafe for ImplItem
impl Send for ImplItem
impl Sync for ImplItem
impl Unpin for ImplItem
impl UnwindSafe for ImplItem
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