Trait gstreamer::auto::preset::PresetExt

source ·
pub trait PresetExt:
    IsA<Preset>
    + Sealed
    + 'static {
    // Provided methods
    fn delete_preset(&self, name: &str) -> Result<(), BoolError> { ... }
    fn meta(&self, name: &str, tag: &str) -> Option<GString> { ... }
    fn preset_names(&self) -> Vec<GString> { ... }
    fn property_names(&self) -> Vec<GString> { ... }
    fn is_editable(&self) -> bool { ... }
    fn load_preset(&self, name: &str) -> Result<(), BoolError> { ... }
    fn rename_preset(
        &self,
        old_name: &str,
        new_name: &str,
    ) -> Result<(), BoolError> { ... }
    fn save_preset(&self, name: &str) -> Result<(), BoolError> { ... }
    fn set_meta(
        &self,
        name: &str,
        tag: &str,
        value: Option<&str>,
    ) -> Result<(), BoolError> { ... }
}

Provided Methods§

source

fn delete_preset(&self, name: &str) -> Result<(), BoolError>

source

fn meta(&self, name: &str, tag: &str) -> Option<GString>

source

fn preset_names(&self) -> Vec<GString>

source

fn property_names(&self) -> Vec<GString>

source

fn is_editable(&self) -> bool

source

fn load_preset(&self, name: &str) -> Result<(), BoolError>

source

fn rename_preset(&self, old_name: &str, new_name: &str) -> Result<(), BoolError>

source

fn save_preset(&self, name: &str) -> Result<(), BoolError>

source

fn set_meta( &self, name: &str, tag: &str, value: Option<&str>, ) -> Result<(), BoolError>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Preset>> PresetExt for O