pub struct AttrStmt {
pub target: AttrStmtTarget,
pub list: AttributeList,
}Fields
target: AttrStmtTargetlist: AttributeListImplementations
sourceimpl AttrStmt
impl AttrStmt
pub fn new(target: AttrStmtTarget, list: AttributeList) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AttrStmt
impl Send for AttrStmt
impl Sync for AttrStmt
impl Unpin for AttrStmt
impl UnwindSafe for AttrStmt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more