pub struct PContainer {
pub name: Ident,
pub rename: Option<String>,
pub attrs: PAttrs,
pub bgp: BoundedGenericParams,
}Expand description
Parsed container
Fields§
§name: IdentOriginal name of the container (could be a struct, an enum variant, etc.)
rename: Option<String>If true, a rename attribute was applied and this is the result.
attrs: PAttrsAttributes of the container
bgp: BoundedGenericParamsGeneric parameters of the container
Auto Trait Implementations§
impl Freeze for PContainer
impl RefUnwindSafe for PContainer
impl !Send for PContainer
impl !Sync for PContainer
impl Unpin for PContainer
impl UnwindSafe for PContainer
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