KeyUsage
struct · ferroui-protranslate-build · v0.5.0
struct KeyUsage
A static or dynamic translation use. argument_count = None means lookup, or an
argument slice whose length the caller cannot prove at build time.
Members
key
key: Option<String>
generated_constant
generated_constant: Option<String>
argument_count
argument_count: Option<usize>
file
file: String
line
line: Option<usize>
lookup
fn lookup(key: impl Into<String>) -> Self
format
fn format(key: impl Into<String>, argument_count: usize) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.