[]Struct lumol::sim::output::CustomOutput

pub struct CustomOutput { /* fields omitted */ }

The CustomOutput writes data into a file from an user-provided template.

The template string can contain mathematical expressions, using some physical properties of the system. These mathematical expressions must be enclosed in braces ({}). Here are some examples:

Here is a list of all accepted properties:

Implementations

impl CustomOutput

pub fn new<P>(
    filename: P,
    template: &str
) -> Result<CustomOutput, CustomOutputError> where
    P: AsRef<Path>, 

Create a new CustomOutput writing to the file at filename using the given template. The template is only partially validated at this stage.

Trait Implementations

impl FromToml for CustomOutput

impl Output for CustomOutput

Auto Trait Implementations

impl RefUnwindSafe for CustomOutput

impl Send for CustomOutput

impl Sync for CustomOutput

impl Unpin for CustomOutput

impl UnwindSafe for CustomOutput

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> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,