pub struct TestField {
pub name: Ident,
pub value: String,
pub span: SourceSpan,
}Expand description
A <field> <expr> mapping inside a given record body. value is the source
text of the expression (parsed via parse_expression when validated), matching
how guards and assertions capture expressions.
Fields§
§name: Ident§value: String§span: SourceSpanTrait Implementations§
impl Eq for TestField
impl StructuralPartialEq for TestField
Auto Trait Implementations§
impl Freeze for TestField
impl RefUnwindSafe for TestField
impl Send for TestField
impl Sync for TestField
impl Unpin for TestField
impl UnsafeUnpin for TestField
impl UnwindSafe for TestField
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