pub enum FluentCatalogEntryKind {
Message,
MessageWithoutValue,
Term,
}Expand description
The kind of a top-level Fluent entry relevant to runtime message lookup.
Variants§
Message
A message with a value that can be resolved at runtime.
MessageWithoutValue
A message containing attributes but no resolvable value.
Term
A Fluent term.
Implementations§
Source§impl FluentCatalogEntryKind
impl FluentCatalogEntryKind
Sourcepub const fn resolves_message(self) -> bool
pub const fn resolves_message(self) -> bool
Returns whether this entry can satisfy a typed message lookup.
Trait Implementations§
Source§impl Clone for FluentCatalogEntryKind
impl Clone for FluentCatalogEntryKind
impl Copy for FluentCatalogEntryKind
Source§impl Debug for FluentCatalogEntryKind
impl Debug for FluentCatalogEntryKind
impl Eq for FluentCatalogEntryKind
Source§impl PartialEq for FluentCatalogEntryKind
impl PartialEq for FluentCatalogEntryKind
impl StructuralPartialEq for FluentCatalogEntryKind
Auto Trait Implementations§
impl Freeze for FluentCatalogEntryKind
impl RefUnwindSafe for FluentCatalogEntryKind
impl Send for FluentCatalogEntryKind
impl Sync for FluentCatalogEntryKind
impl Unpin for FluentCatalogEntryKind
impl UnsafeUnpin for FluentCatalogEntryKind
impl UnwindSafe for FluentCatalogEntryKind
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