Trait gstreamer_base::prelude::PresetExt [−][src]
pub trait PresetExt { fn delete_preset(&self, name: &str) -> Result<(), BoolError>; fn get_meta(&self, name: &str, tag: &str) -> Option<String>; fn get_preset_names(&self) -> Vec<String>; fn get_property_names(&self) -> Vec<String>; 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<'a, P>(
&self,
name: &str,
tag: &str,
value: P
) -> Result<(), BoolError>
where
P: Into<Option<&'a str>>; }
Required Methods
fn delete_preset(&self, name: &str) -> Result<(), BoolError>
fn get_meta(&self, name: &str, tag: &str) -> Option<String>
fn get_preset_names(&self) -> Vec<String>
fn get_property_names(&self) -> Vec<String>
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<'a, P>(
&self,
name: &str,
tag: &str,
value: P
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,
&self,
name: &str,
tag: &str,
value: P
) -> Result<(), BoolError> where
P: Into<Option<&'a str>>,