pub enum FluentParseMode {
Aggressive,
Conservative,
}Expand description
The mode to use when parsing Fluent files.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FluentParseMode
impl Clone for FluentParseMode
Source§fn clone(&self) -> FluentParseMode
fn clone(&self) -> FluentParseMode
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 moreimpl Copy for FluentParseMode
Source§impl Debug for FluentParseMode
impl Debug for FluentParseMode
Source§impl Default for FluentParseMode
impl Default for FluentParseMode
Source§fn default() -> FluentParseMode
fn default() -> FluentParseMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FluentParseMode
impl<'de> Deserialize<'de> for FluentParseMode
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 Display for FluentParseMode
impl Display for FluentParseMode
impl Eq for FluentParseMode
Source§impl<'_derivative_strum> From<&'_derivative_strum FluentParseMode> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum FluentParseMode> for &'static str
Source§fn from(x: &'_derivative_strum FluentParseMode) -> &'static str
fn from(x: &'_derivative_strum FluentParseMode) -> &'static str
Converts to this type from the input type.
Source§impl From<FluentParseMode> for &'static str
impl From<FluentParseMode> for &'static str
Source§fn from(x: FluentParseMode) -> &'static str
fn from(x: FluentParseMode) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for FluentParseMode
impl PartialEq for FluentParseMode
Source§impl Serialize for FluentParseMode
impl Serialize for FluentParseMode
impl StructuralPartialEq for FluentParseMode
Source§impl ValueEnum for FluentParseMode
impl ValueEnum for FluentParseMode
Auto Trait Implementations§
impl Freeze for FluentParseMode
impl RefUnwindSafe for FluentParseMode
impl Send for FluentParseMode
impl Sync for FluentParseMode
impl Unpin for FluentParseMode
impl UnsafeUnpin for FluentParseMode
impl UnwindSafe for FluentParseMode
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