pub enum PendingLocaleKey {
Literal(String),
Path(Vec<String>),
}Expand description
Unresolved locale key from locale! (literal or Type::CONST / FQ path).
Variants§
Literal(String)
Path(Vec<String>)
Path segments as written (Items, WIDGET) or
(crate, data, items, Items, WIDGET).
Trait Implementations§
Source§impl Clone for PendingLocaleKey
impl Clone for PendingLocaleKey
Source§fn clone(&self) -> PendingLocaleKey
fn clone(&self) -> PendingLocaleKey
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 Debug for PendingLocaleKey
impl Debug for PendingLocaleKey
impl Eq for PendingLocaleKey
Source§impl PartialEq for PendingLocaleKey
impl PartialEq for PendingLocaleKey
impl StructuralPartialEq for PendingLocaleKey
Auto Trait Implementations§
impl Freeze for PendingLocaleKey
impl RefUnwindSafe for PendingLocaleKey
impl Send for PendingLocaleKey
impl Sync for PendingLocaleKey
impl Unpin for PendingLocaleKey
impl UnsafeUnpin for PendingLocaleKey
impl UnwindSafe for PendingLocaleKey
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