pub struct ParsedStruct {
pub name: String,
pub fields: Vec<ParsedField>,
pub span: Span,
}Fields§
§name: String§fields: Vec<ParsedField>§span: SpanImplementations§
Source§impl ParsedStruct
impl ParsedStruct
pub fn parse(token_iter: &mut TokenIter) -> Result<Self, ParseError>
Auto Trait Implementations§
impl Freeze for ParsedStruct
impl RefUnwindSafe for ParsedStruct
impl Send for ParsedStruct
impl Sync for ParsedStruct
impl Unpin for ParsedStruct
impl UnsafeUnpin for ParsedStruct
impl UnwindSafe for ParsedStruct
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