[−][src]Struct yamlette::model::yaml::float::FloatValue
Methods
impl FloatValue
[src]
pub fn set_alias(&mut self, alias: Option<Cow<'static, str>>)
[src]
pub fn take_alias(&mut self) -> Option<Cow<'static, str>>
[src]
pub fn init_common_styles(&mut self, common_styles: CommonStyles)
[src]
pub fn issue_tag(&self) -> bool
[src]
pub fn set_issue_tag(&mut self, val: bool)
[src]
pub fn sign(&self) -> Option<Sign>
[src]
pub fn is_nan(&self) -> bool
[src]
pub fn is_negative(&self) -> bool
[src]
pub fn is_infinite(&self) -> bool
[src]
pub fn format_as_float(&self) -> Option<String>
[src]
Trait Implementations
impl Tagged for FloatValue
[src]
fn get_tag(&self) -> Cow<'static, str>
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_mut_any(&mut self) -> &mut dyn Any
[src]
impl Into<GenericFraction<BigUint>> for FloatValue
[src]
fn into(self) -> BigFraction
[src]
impl Into<GenericFraction<DynaInt<u64, BigUint>>> for FloatValue
[src]
impl Into<Result<GenericFraction<u64>, FloatValue>> for FloatValue
[src]
fn into(self) -> Result<Fraction, FloatValue>
[src]
impl<'a> Into<&'a GenericFraction<DynaInt<u64, BigUint>>> for &'a FloatValue
[src]
impl Clone for FloatValue
[src]
fn clone(&self) -> FloatValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<f32> for FloatValue where
Fraction: From<f32>,
[src]
Fraction: From<f32>,
fn from(val: f32) -> FloatValue
[src]
impl From<f64> for FloatValue where
Fraction: From<f64>,
[src]
Fraction: From<f64>,
fn from(val: f64) -> FloatValue
[src]
impl From<GenericFraction<DynaInt<u64, BigUint>>> for FloatValue
[src]
fn from(f: Fraction) -> FloatValue
[src]
impl From<GenericFraction<BigUint>> for FloatValue
[src]
fn from(f: BigFraction) -> FloatValue
[src]
impl From<GenericFraction<u64>> for FloatValue
[src]
fn from(f: Fraction) -> FloatValue
[src]
impl From<FloatValue> for TaggedValue
[src]
fn from(value: FloatValue) -> Self
[src]
impl Debug for FloatValue
[src]
impl ToPrimitive for FloatValue
[src]
fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
fn to_isize(&self) -> Option<isize>
[src]
Converts the value of self
to an isize
.
fn to_i8(&self) -> Option<i8>
[src]
Converts the value of self
to an i8
.
fn to_i16(&self) -> Option<i16>
[src]
Converts the value of self
to an i16
.
fn to_i32(&self) -> Option<i32>
[src]
Converts the value of self
to an i32
.
fn to_i128(&self) -> Option<i128>
[src]
Converts the value of self
to an i128
. Read more
fn to_usize(&self) -> Option<usize>
[src]
Converts the value of self
to a usize
.
fn to_u8(&self) -> Option<u8>
[src]
Converts the value of self
to an u8
.
fn to_u16(&self) -> Option<u16>
[src]
Converts the value of self
to an u16
.
fn to_u32(&self) -> Option<u32>
[src]
Converts the value of self
to an u32
.
fn to_u128(&self) -> Option<u128>
[src]
Converts the value of self
to an u128
. Read more
fn to_f32(&self) -> Option<f32>
[src]
Converts the value of self
to an f32
.
fn to_f64(&self) -> Option<f64>
[src]
Converts the value of self
to an f64
.
Auto Trait Implementations
impl Send for FloatValue
impl Sync for FloatValue
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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,