mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
27 lines
377 B
Rust
27 lines
377 B
Rust
use askama::Template;
|
|
|
|
#[allow(non_camel_case_types)]
|
|
#[derive(Template)]
|
|
#[template(
|
|
ext = "html",
|
|
source = "{{ 0x0x }}",
|
|
)]
|
|
struct IntSuffix;
|
|
|
|
#[derive(Template)]
|
|
#[template(
|
|
ext = "html",
|
|
source = "{{ 0.0_f127 }}",
|
|
)]
|
|
struct FloatSuffix;
|
|
|
|
#[derive(Template)]
|
|
#[template(
|
|
ext = "html",
|
|
source = "{{ 654u321 }}",
|
|
)]
|
|
struct EitherSuffix;
|
|
|
|
fn main() {
|
|
}
|