pub enum MessageFormatStyleKind {
None,
Predefined,
Skeleton,
Pattern,
}Expand description
Classification of a message formatter style.
Variants§
None
Formatter has no style segment.
Predefined
Formatter uses a known named style.
Skeleton
Formatter uses an ICU skeleton.
Pattern
Formatter uses an opaque pattern-style segment.
Trait Implementations§
Source§impl Clone for MessageFormatStyleKind
impl Clone for MessageFormatStyleKind
Source§fn clone(&self) -> MessageFormatStyleKind
fn clone(&self) -> MessageFormatStyleKind
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 MessageFormatStyleKind
impl Debug for MessageFormatStyleKind
Source§impl<'de> Deserialize<'de> for MessageFormatStyleKind
impl<'de> Deserialize<'de> for MessageFormatStyleKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageFormatStyleKind
impl PartialEq for MessageFormatStyleKind
Source§fn eq(&self, other: &MessageFormatStyleKind) -> bool
fn eq(&self, other: &MessageFormatStyleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageFormatStyleKind
impl Serialize for MessageFormatStyleKind
impl Copy for MessageFormatStyleKind
impl Eq for MessageFormatStyleKind
impl StructuralPartialEq for MessageFormatStyleKind
Auto Trait Implementations§
impl Freeze for MessageFormatStyleKind
impl RefUnwindSafe for MessageFormatStyleKind
impl Send for MessageFormatStyleKind
impl Sync for MessageFormatStyleKind
impl Unpin for MessageFormatStyleKind
impl UnsafeUnpin for MessageFormatStyleKind
impl UnwindSafe for MessageFormatStyleKind
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