pub enum Missing<'a> {
Key,
Text(&'a str),
Null,
}Expand description
What Locale::text returns for a key no language has.
PHP: the $default argument of getText().
Variants§
Key
The key in double braces, {{key}}.
PHP: the default, DEFAULT_DYNAMIC_KEY.
Text(&'a str)
This text.
Null
Nothing (null).
Trait Implementations§
impl<'a> Copy for Missing<'a>
impl<'a> Eq for Missing<'a>
impl<'a> StructuralPartialEq for Missing<'a>
Auto Trait Implementations§
impl<'a> Forget for Missing<'a>
impl<'a> Freeze for Missing<'a>
impl<'a> Move for Missing<'a>
impl<'a> RefUnwindSafe for Missing<'a>
impl<'a> Send for Missing<'a>
impl<'a> Sync for Missing<'a>
impl<'a> Unpin for Missing<'a>
impl<'a> UnsafeUnpin for Missing<'a>
impl<'a> UnwindSafe for Missing<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.