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§
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>
Object Safety§
This trait is not object safe.