pub struct PureImpl {
pub attrs: Vec<PureAttribute>,
pub generics: PureGenerics,
pub is_unsafe: bool,
pub trait_: Option<String>,
pub self_ty: String,
pub items: Vec<PureImplItem>,
}Expand description
An impl block.
Fields§
§attrs: Vec<PureAttribute>Attributes.
generics: PureGenericsGenerics.
is_unsafe: boolWhether this is an unsafe impl.
trait_: Option<String>Trait being implemented (if any).
self_ty: StringType being implemented for.
items: Vec<PureImplItem>Items in the impl.
Trait Implementations§
impl Eq for PureImpl
impl StructuralPartialEq for PureImpl
Auto Trait Implementations§
impl Freeze for PureImpl
impl RefUnwindSafe for PureImpl
impl Send for PureImpl
impl Sync for PureImpl
impl Unpin for PureImpl
impl UnsafeUnpin for PureImpl
impl UnwindSafe for PureImpl
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