pub struct StrParam {
pub name: String,
pub numeric: bool,
}Expand description
One generated function parameter: the Fluent $variable name and whether it is used as a
number (a plural/select selector or NUMBER() argument) — which types it as
IntoNumberFArg instead of IntoFArg, so a string can’t be passed where a plural count is needed.
Fields§
§name: String§numeric: boolTrait Implementations§
impl Eq for StrParam
impl StructuralPartialEq for StrParam
Auto Trait Implementations§
impl Freeze for StrParam
impl RefUnwindSafe for StrParam
impl Send for StrParam
impl Sync for StrParam
impl Unpin for StrParam
impl UnsafeUnpin for StrParam
impl UnwindSafe for StrParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more