Struct clippy_utils::macros::FormatArgsArg
source · [−]pub struct FormatArgsArg<'tcx> {
pub value: &'tcx Expr<'tcx>,
pub format_trait: Symbol,
pub spec: Option<&'tcx Expr<'tcx>>,
}Expand description
Type representing a FormatArgsExpn’s format arguments
Fields
value: &'tcx Expr<'tcx>An element of value_args according to position
format_trait: SymbolAn element of args according to position
spec: Option<&'tcx Expr<'tcx>>An element of specs
Implementations
Returns true if any formatting parameters are used that would have an effect on strings,
like {:+2} instead of just {}.
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for FormatArgsArg<'tcx>
impl<'tcx> !Send for FormatArgsArg<'tcx>
impl<'tcx> !Sync for FormatArgsArg<'tcx>
impl<'tcx> Unpin for FormatArgsArg<'tcx>
impl<'tcx> UnwindSafe for FormatArgsArg<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes