pub trait FormatterExt:
    IsA<Formatter>
    + Sealed
    + 'static {
    // Provided methods
    fn load_from_uri(
        &self,
        timeline: &impl IsA<Timeline>,
        uri: &str,
    ) -> Result<(), Error> { ... }
    fn save_to_uri(
        &self,
        timeline: &impl IsA<Timeline>,
        uri: &str,
        overwrite: bool,
    ) -> Result<(), Error> { ... }
}
Expand description

Trait containing all Formatter methods.

§Implementors

BaseXmlFormatter, CommandLineFormatter, Formatter

Provided Methods§

source

fn load_from_uri( &self, timeline: &impl IsA<Timeline>, uri: &str, ) -> Result<(), Error>

👎Deprecated: Since 1.18

Load data from the given URI into timeline.

§Deprecated since 1.18

Use TimelineExt::load_from_uri()

§timeline

a Timeline

§uri

a gchar * pointing to a URI

§Returns

TRUE if the timeline data was successfully loaded from the URI, else FALSE.

source

fn save_to_uri( &self, timeline: &impl IsA<Timeline>, uri: &str, overwrite: bool, ) -> Result<(), Error>

👎Deprecated: Since 1.18

Save data from timeline to the given URI.

§Deprecated since 1.18

Use TimelineExt::save_to_uri()

§timeline

a Timeline

§uri

a gchar * pointing to a URI

§overwrite

true to overwrite file if it exists

§Returns

TRUE if the timeline data was successfully saved to the URI else FALSE.

Object Safety§

This trait is not object safe.

Implementors§