pub struct RonStruct {
pub fields: Vec<(Spanned<String>, Spanned<RonValue>)>,
pub close_span: Span,
}Expand description
A parsed RON struct containing ordered field name-value pairs.
Fields§
§fields: Vec<(Spanned<String>, Spanned<RonValue>)>Field name-value pairs in declaration order. Both names and values carry spans.
close_span: SpanSource location of the closing ), used as the anchor for missing field errors.
Trait Implementations§
impl StructuralPartialEq for RonStruct
Auto Trait Implementations§
impl Freeze for RonStruct
impl RefUnwindSafe for RonStruct
impl Send for RonStruct
impl Sync for RonStruct
impl Unpin for RonStruct
impl UnsafeUnpin for RonStruct
impl UnwindSafe for RonStruct
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