[−][src]Enum fluent_bundle::types::FluentValue
Variants
Error(DisplayableNode<'source>)
Methods
impl<'source> FluentValue<'source>
[src]
pub fn into_number<S: ToString>(v: S) -> Self
[src]
pub fn matches<R: Borrow<FluentResource>>(
&self,
other: &FluentValue,
scope: &Scope<R>
) -> bool
[src]
&self,
other: &FluentValue,
scope: &Scope<R>
) -> bool
pub fn to_string(&self) -> Cow<'source, str>
[src]
Trait Implementations
impl<'source> Clone for FluentValue<'source>
[src]
fn clone(&self) -> FluentValue<'source>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'source> PartialEq<FluentValue<'source>> for FluentValue<'source>
[src]
fn eq(&self, other: &FluentValue<'source>) -> bool
[src]
fn ne(&self, other: &FluentValue<'source>) -> bool
[src]
impl<'source> From<String> for FluentValue<'source>
[src]
impl<'source> From<&'source str> for FluentValue<'source>
[src]
impl<'source> From<i8> for FluentValue<'source>
[src]
impl<'source> From<&'source i8> for FluentValue<'source>
[src]
impl<'source> From<i16> for FluentValue<'source>
[src]
impl<'source> From<&'source i16> for FluentValue<'source>
[src]
impl<'source> From<i32> for FluentValue<'source>
[src]
impl<'source> From<&'source i32> for FluentValue<'source>
[src]
impl<'source> From<i64> for FluentValue<'source>
[src]
impl<'source> From<&'source i64> for FluentValue<'source>
[src]
impl<'source> From<i128> for FluentValue<'source>
[src]
impl<'source> From<&'source i128> for FluentValue<'source>
[src]
impl<'source> From<isize> for FluentValue<'source>
[src]
impl<'source> From<&'source isize> for FluentValue<'source>
[src]
impl<'source> From<u8> for FluentValue<'source>
[src]
impl<'source> From<&'source u8> for FluentValue<'source>
[src]
impl<'source> From<u16> for FluentValue<'source>
[src]
impl<'source> From<&'source u16> for FluentValue<'source>
[src]
impl<'source> From<u32> for FluentValue<'source>
[src]
impl<'source> From<&'source u32> for FluentValue<'source>
[src]
impl<'source> From<u64> for FluentValue<'source>
[src]
impl<'source> From<&'source u64> for FluentValue<'source>
[src]
impl<'source> From<u128> for FluentValue<'source>
[src]
impl<'source> From<&'source u128> for FluentValue<'source>
[src]
impl<'source> From<usize> for FluentValue<'source>
[src]
impl<'source> From<&'source usize> for FluentValue<'source>
[src]
impl<'source> From<f32> for FluentValue<'source>
[src]
impl<'source> From<&'source f32> for FluentValue<'source>
[src]
impl<'source> From<f64> for FluentValue<'source>
[src]
impl<'source> From<&'source f64> for FluentValue<'source>
[src]
impl<'source> Debug for FluentValue<'source>
[src]
impl<'source> Display for FluentValue<'source>
[src]
Auto Trait Implementations
impl<'source> Sync for FluentValue<'source>
impl<'source> Send for FluentValue<'source>
impl<'source> Unpin for FluentValue<'source>
impl<'source> UnwindSafe for FluentValue<'source>
impl<'source> RefUnwindSafe for FluentValue<'source>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,