[][src]Struct yamlette::model::yaml::float::FloatValue

pub struct FloatValue { /* fields omitted */ }

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]

impl Into<GenericFraction<BigUint>> for FloatValue[src]

impl Into<GenericFraction<DynaInt<u64, BigUint>>> for FloatValue[src]

impl Into<Result<GenericFraction<u64>, FloatValue>> for FloatValue[src]

impl<'a> Into<&'a GenericFraction<DynaInt<u64, BigUint>>> for &'a FloatValue[src]

impl Clone for 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]

impl From<f64> for FloatValue where
    Fraction: From<f64>, 
[src]

impl From<GenericFraction<DynaInt<u64, BigUint>>> for FloatValue[src]

impl From<GenericFraction<BigUint>> for FloatValue[src]

impl From<GenericFraction<u64>> for FloatValue[src]

impl From<FloatValue> for TaggedValue[src]

impl Debug for FloatValue[src]

impl ToPrimitive for FloatValue[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]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]