pub enum PAttr {
Doc {
line: String,
},
Repr {
repr: PRepr,
},
Facet {
name: String,
},
}Expand description
Parsed attr
Variants§
Doc
A single line of doc comments
#[doc = "Some doc"], or /// Some doc`, same thing
Repr
A representation attribute
Facet
A facet attribute
Auto Trait Implementations§
impl Freeze for PAttr
impl RefUnwindSafe for PAttr
impl Send for PAttr
impl Sync for PAttr
impl Unpin for PAttr
impl UnwindSafe for PAttr
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