Struct syn_helpers::Item
source · pub struct Item<'a> {
pub structure: &'a mut Structure,
pub self_type: TypeOfSelf,
}
Expand description
A intermediate type that wraps a Structure
Fields§
§structure: &'a mut Structure
§self_type: TypeOfSelf
Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Item<'a>
impl<'a> !Send for Item<'a>
impl<'a> !Sync for Item<'a>
impl<'a> Unpin for Item<'a>
impl<'a> !UnwindSafe for Item<'a>
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