pub type ExprFormattedValue = ExprFormattedValue<SourceRange>;
Aliased Type§
struct ExprFormattedValue {
pub range: SourceRange,
pub value: Box<Expr<SourceRange>>,
pub conversion: ConversionFlag,
pub format_spec: Option<Box<Expr<SourceRange>>>,
}
Fields§
§range: SourceRange
§value: Box<Expr<SourceRange>>
§conversion: ConversionFlag
§format_spec: Option<Box<Expr<SourceRange>>>
Trait Implementations§
Source§impl Located for ExprFormattedValue
impl Located for ExprFormattedValue
fn range(&self) -> SourceRange
fn location(&self) -> SourceLocation
fn end_location(&self) -> Option<SourceLocation>
Source§impl LocatedMut for ExprFormattedValue
impl LocatedMut for ExprFormattedValue
fn range_mut(&mut self) -> &mut SourceRange
Source§impl<R: Clone> Clone for ExprFormattedValue<R>
impl<R: Clone> Clone for ExprFormattedValue<R>
Source§fn clone(&self) -> ExprFormattedValue<R>
fn clone(&self) -> ExprFormattedValue<R>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more