pub struct AttrStmt {
pub target: AttrStmtTarget,
pub list: AttributeList,
}
Fields§
§target: AttrStmtTarget
§list: AttributeList
Implementations§
Source§impl AttrStmt
impl AttrStmt
pub fn new(target: AttrStmtTarget, list: AttributeList) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AttrStmt
impl RefUnwindSafe for AttrStmt
impl Send for AttrStmt
impl Sync for AttrStmt
impl Unpin for AttrStmt
impl UnwindSafe for AttrStmt
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