pub struct FluentArgs<'a> { /* private fields */ }Expand description
Generated Fluent arguments keyed by validated static argument names.
Implementations§
Source§impl<'a> FluentArgs<'a>
impl<'a> FluentArgs<'a>
pub fn new() -> Self
pub fn insert(&mut self, name: StaticFluentArgumentName, value: FluentValue<'a>)
pub fn as_raw(&self) -> &FluentArgumentMap<'a>
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for FluentArgs<'a>
impl<'a> Clone for FluentArgs<'a>
Source§fn clone(&self) -> FluentArgs<'a>
fn clone(&self) -> FluentArgs<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for FluentArgs<'a>
impl<'a> Debug for FluentArgs<'a>
Source§impl<'a> Default for FluentArgs<'a>
impl<'a> Default for FluentArgs<'a>
Source§fn default() -> FluentArgs<'a>
fn default() -> FluentArgs<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FluentArgs<'a>
impl<'a> !Sync for FluentArgs<'a>
impl<'a> !UnwindSafe for FluentArgs<'a>
impl<'a> Freeze for FluentArgs<'a>
impl<'a> Send for FluentArgs<'a>
impl<'a> Unpin for FluentArgs<'a>
impl<'a> UnsafeUnpin for FluentArgs<'a>
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