Struct amfnengine::engine::calc_json_serialize::CalcJsonSerialize[]

pub struct CalcJsonSerialize { /* fields omitted */ }

Implementations

impl CalcJsonSerialize

The serilaize json implementation of the AmFn engine.

pub fn new(calc_manager_param: &Rc<RefCell<CalcManager>>) -> CalcJsonSerialize

Create and return a new serialization element.

Arguments

  • calc_manager_param - Calculation manager.

Return

  • See description.

pub fn serialize(&self, options: usize) -> String

Serialize elements into Json.

Arguments

  • options - Determines the elements that are serialized.

Return

  • ERROR_NONE if successful, otherwise error code.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.