pub struct Field<'a> {
pub name: String,
pub raw_name: &'a str,
pub value: String,
pub cst_node: NodeId,
}Expand description
A field that was not specifically parsed into a typed representation.
Fields§
§name: StringThe canonicalized field name.
raw_name: &'a strThe raw field name as written in the source.
value: StringThe field value (first line only; continuation lines are concatenated with newlines).
cst_node: NodeIdBack-reference to the CST field node.
Trait Implementations§
impl<'a> Eq for Field<'a>
impl<'a> StructuralPartialEq for Field<'a>
Auto Trait Implementations§
impl<'a> Freeze for Field<'a>
impl<'a> RefUnwindSafe for Field<'a>
impl<'a> Send for Field<'a>
impl<'a> Sync for Field<'a>
impl<'a> Unpin for Field<'a>
impl<'a> UnsafeUnpin for Field<'a>
impl<'a> UnwindSafe for Field<'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