Struct fluent_bundle::types::FluentNumber
source · pub struct FluentNumber {
pub value: f64,
pub options: FluentNumberOptions,
}
Fields§
§value: f64
§options: FluentNumberOptions
Implementations§
Trait Implementations§
source§impl Clone for FluentNumber
impl Clone for FluentNumber
source§fn clone(&self) -> FluentNumber
fn clone(&self) -> FluentNumber
Returns a copy of the value. Read more
1.0.0 · 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 FluentNumber
impl Debug for FluentNumber
source§impl From<&FluentNumber> for PluralOperands
impl From<&FluentNumber> for PluralOperands
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for f32
impl From<&FluentNumber> for f32
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for f64
impl From<&FluentNumber> for f64
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for i128
impl From<&FluentNumber> for i128
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for i16
impl From<&FluentNumber> for i16
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for i32
impl From<&FluentNumber> for i32
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for i64
impl From<&FluentNumber> for i64
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for i8
impl From<&FluentNumber> for i8
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for isize
impl From<&FluentNumber> for isize
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for u128
impl From<&FluentNumber> for u128
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for u16
impl From<&FluentNumber> for u16
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for u32
impl From<&FluentNumber> for u32
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for u64
impl From<&FluentNumber> for u64
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for u8
impl From<&FluentNumber> for u8
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&FluentNumber> for usize
impl From<&FluentNumber> for usize
source§fn from(input: &FluentNumber) -> Self
fn from(input: &FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<&f32> for FluentNumber
impl From<&f32> for FluentNumber
source§impl From<&f64> for FluentNumber
impl From<&f64> for FluentNumber
source§impl From<&i128> for FluentNumber
impl From<&i128> for FluentNumber
source§impl From<&i16> for FluentNumber
impl From<&i16> for FluentNumber
source§impl From<&i32> for FluentNumber
impl From<&i32> for FluentNumber
source§impl From<&i64> for FluentNumber
impl From<&i64> for FluentNumber
source§impl From<&i8> for FluentNumber
impl From<&i8> for FluentNumber
source§impl From<&isize> for FluentNumber
impl From<&isize> for FluentNumber
source§impl From<&u128> for FluentNumber
impl From<&u128> for FluentNumber
source§impl From<&u16> for FluentNumber
impl From<&u16> for FluentNumber
source§impl From<&u32> for FluentNumber
impl From<&u32> for FluentNumber
source§impl From<&u64> for FluentNumber
impl From<&u64> for FluentNumber
source§impl From<&u8> for FluentNumber
impl From<&u8> for FluentNumber
source§impl From<&usize> for FluentNumber
impl From<&usize> for FluentNumber
source§impl<'l> From<FluentNumber> for FluentValue<'l>
impl<'l> From<FluentNumber> for FluentValue<'l>
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for f32
impl From<FluentNumber> for f32
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for f64
impl From<FluentNumber> for f64
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for i128
impl From<FluentNumber> for i128
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for i16
impl From<FluentNumber> for i16
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for i32
impl From<FluentNumber> for i32
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for i64
impl From<FluentNumber> for i64
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for i8
impl From<FluentNumber> for i8
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for isize
impl From<FluentNumber> for isize
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for u128
impl From<FluentNumber> for u128
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for u16
impl From<FluentNumber> for u16
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for u32
impl From<FluentNumber> for u32
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for u64
impl From<FluentNumber> for u64
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for u8
impl From<FluentNumber> for u8
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<FluentNumber> for usize
impl From<FluentNumber> for usize
source§fn from(input: FluentNumber) -> Self
fn from(input: FluentNumber) -> Self
Converts to this type from the input type.
source§impl From<f32> for FluentNumber
impl From<f32> for FluentNumber
source§impl From<f64> for FluentNumber
impl From<f64> for FluentNumber
source§impl From<i128> for FluentNumber
impl From<i128> for FluentNumber
source§impl From<i16> for FluentNumber
impl From<i16> for FluentNumber
source§impl From<i32> for FluentNumber
impl From<i32> for FluentNumber
source§impl From<i64> for FluentNumber
impl From<i64> for FluentNumber
source§impl From<i8> for FluentNumber
impl From<i8> for FluentNumber
source§impl From<isize> for FluentNumber
impl From<isize> for FluentNumber
source§impl From<u128> for FluentNumber
impl From<u128> for FluentNumber
source§impl From<u16> for FluentNumber
impl From<u16> for FluentNumber
source§impl From<u32> for FluentNumber
impl From<u32> for FluentNumber
source§impl From<u64> for FluentNumber
impl From<u64> for FluentNumber
source§impl From<u8> for FluentNumber
impl From<u8> for FluentNumber
source§impl From<usize> for FluentNumber
impl From<usize> for FluentNumber
source§impl FromStr for FluentNumber
impl FromStr for FluentNumber
source§impl PartialEq for FluentNumber
impl PartialEq for FluentNumber
source§fn eq(&self, other: &FluentNumber) -> bool
fn eq(&self, other: &FluentNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FluentNumber
Auto Trait Implementations§
impl Freeze for FluentNumber
impl RefUnwindSafe for FluentNumber
impl Send for FluentNumber
impl Sync for FluentNumber
impl Unpin for FluentNumber
impl UnwindSafe for FluentNumber
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