pub trait FormatterImpl: FormatterImplExt + ObjectImpl + Send + Sync {
    // Provided methods
    fn can_load_uri(&self, uri: &str) -> Result<(), Error> { ... }
    fn load_from_uri(&self, timeline: &Timeline, uri: &str) -> Result<(), Error> { ... }
    fn save_to_uri(
        &self,
        timeline: &Timeline,
        uri: &str,
        overwrite: bool
    ) -> Result<(), Error> { ... }
}

Provided Methods§

source

fn can_load_uri(&self, uri: &str) -> Result<(), Error>

source

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

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: &Timeline, uri: &str, overwrite: bool ) -> Result<(), Error>

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§