pub struct FormatDef {
pub template: String,
pub args: FormatArgs,
pub pos: Position,
}
Expand description
Encodes a format expression in the UCG AST.
Fields§
§template: String
§args: FormatArgs
§pos: Position
Trait Implementations§
impl StructuralPartialEq for FormatDef
Auto Trait Implementations§
impl Freeze for FormatDef
impl RefUnwindSafe for FormatDef
impl !Send for FormatDef
impl !Sync for FormatDef
impl Unpin for FormatDef
impl UnwindSafe for FormatDef
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