#![allow(
clippy::needless_pass_by_value,
clippy::missing_const_for_fn,
reason = "placeholder fns exist only to shape the signature shown on hover; by-value params and non-const are intentional"
)]
pub mod params {
pub struct IdentiferOrFalse;
pub struct StringOrFalse;
pub struct IntOrRange;
pub struct Path;
pub struct Vis;
pub struct FormatString;
pub struct FmtArg;
pub struct TypeArrowExpr;
pub struct TypeAndTransform;
pub struct TypePath;
pub struct Settings;
pub struct OopsieArg;
pub struct ExitCode;
}
pub mod helper {
use super::params::OopsieArg;
pub fn oopsie(args: Vec<OopsieArg>) {
_ = args;
}
}
pub mod container {
use super::params::{ExitCode, IdentiferOrFalse, IntOrRange, Path, StringOrFalse, Vis};
#[doc = include_str!("keyword_docs/container/module.md")]
pub fn module(name: IdentiferOrFalse) {
_ = name;
}
#[doc = include_str!("keyword_docs/container/suffix.md")]
pub fn suffix(text: StringOrFalse) {
_ = text;
}
#[doc = include_str!("keyword_docs/container/size.md")]
pub fn size(size: IntOrRange) {
_ = size;
}
#[doc = include_str!("keyword_docs/container/path.md")]
pub fn path(path: Path) {
_ = path;
}
#[doc = include_str!("keyword_docs/container/vis.md")]
pub fn vis(vis: Vis) {
_ = vis;
}
#[doc = include_str!("keyword_docs/container/exit_code.md")]
pub fn exit_code(code: ExitCode) {
_ = code;
}
}
pub mod variant {
use super::params::{ExitCode, FmtArg, FormatString, TypeArrowExpr, Vis};
#[doc = include_str!("keyword_docs/variant/display.md")]
pub fn display(fmt: FormatString, args: Vec<FmtArg>) {
_ = fmt;
_ = args;
}
#[doc = include_str!("keyword_docs/variant/transparent.md")]
pub fn transparent() {}
#[doc = include_str!("keyword_docs/variant/help.md")]
pub fn help(text: FormatString, args: Vec<FmtArg>) {
_ = text;
_ = args;
}
#[doc = include_str!("keyword_docs/variant/code.md")]
pub fn code(code: FormatString, args: Vec<FmtArg>) {
_ = code;
_ = args;
}
#[doc = include_str!("keyword_docs/variant/exit_code.md")]
pub fn exit_code(code: ExitCode) {
_ = code;
}
#[doc = include_str!("keyword_docs/variant/provide.md")]
pub fn provide(spec: TypeArrowExpr) {
_ = spec;
}
#[doc = include_str!("keyword_docs/variant/vis.md")]
pub fn vis(vis: Vis) {
_ = vis;
}
}
pub mod field {
use super::params::{TypeAndTransform, TypeArrowExpr};
#[doc = include_str!("keyword_docs/field/from.md")]
pub fn from(spec: TypeAndTransform) {
_ = spec;
}
#[doc = include_str!("keyword_docs/field/capture.md")]
pub fn capture() {}
#[doc = include_str!("keyword_docs/field/provide.md")]
pub fn provide(spec: TypeArrowExpr) {
_ = spec;
}
#[doc = include_str!("keyword_docs/field/backtrace.md")]
pub fn backtrace() {}
#[doc = include_str!("keyword_docs/field/spantrace.md")]
pub fn spantrace() {}
#[doc = include_str!("keyword_docs/field/traces.md")]
pub fn traces() {}
#[doc = include_str!("keyword_docs/field/location.md")]
pub fn location() {}
#[doc = include_str!("keyword_docs/field/help.md")]
pub fn help() {}
#[doc = include_str!("keyword_docs/field/forward.md")]
pub fn forward() {}
}
pub mod attr {
use super::params::{Path, Settings};
#[doc = include_str!("keyword_docs/attr/traced.md")]
pub fn traced(settings: Settings) {
_ = settings;
}
#[doc = include_str!("keyword_docs/attr/path.md")]
pub fn path(path: Path) {
_ = path;
}
#[doc = include_str!("keyword_docs/attr/debug.md")]
pub fn debug(enabled: bool) {
_ = enabled;
}
}
pub mod traced {
use super::params::{Settings, TypePath};
#[doc = include_str!("keyword_docs/traced/backtrace.md")]
pub fn backtrace(settings: Settings) {
_ = settings;
}
#[doc = include_str!("keyword_docs/traced/spantrace.md")]
pub fn spantrace(settings: Settings) {
_ = settings;
}
#[doc = include_str!("keyword_docs/traced/timestamp.md")]
pub fn timestamp(settings: Settings) {
_ = settings;
}
#[doc = include_str!("keyword_docs/traced/packed.md")]
pub fn packed(enabled: bool) {
_ = enabled;
}
#[doc = include_str!("keyword_docs/traced/code.md")]
pub fn code(settings: Settings) {
_ = settings;
}
#[doc = include_str!("keyword_docs/traced/boxed.md")]
pub fn boxed(enabled: bool) {
_ = enabled;
}
#[doc = include_str!("keyword_docs/traced/chrono.md")]
pub fn chrono(enabled: bool) {
_ = enabled;
}
#[doc = include_str!("keyword_docs/traced/location.md")]
pub fn location(enabled: bool) {
_ = enabled;
}
#[doc = include_str!("keyword_docs/traced/provide.md")]
pub fn provide(enabled: bool) {
_ = enabled;
}
#[doc = include_str!("keyword_docs/traced/type.md")]
pub fn r#type(r#type: TypePath) {
_ = r#type;
}
#[doc = include_str!("keyword_docs/traced/enabled.md")]
pub fn enabled(enabled: bool) {
_ = enabled;
}
}