pub trait AsAbstractGmlMut: AsAbstractObjectMut + AsAbstractGml {
// Required method
fn abstract_gml_mut(&mut self) -> &mut AbstractGml;
// Provided methods
fn set_id(&mut self, id: Id) { ... }
fn set_id_opt(&mut self, id: Option<Id>) { ... }
fn clear_id(&mut self) { ... }
fn set_names(&mut self, names: Vec<Code>) { ... }
fn push_name(&mut self, name: Code) { ... }
fn extend_names(&mut self, names: impl IntoIterator<Item = Code>) { ... }
}Expand description
Mutable companion to AsAbstractGml.
Implemented by all GML object types that expose mutable access to their base data.
Required Methods§
Sourcefn abstract_gml_mut(&mut self) -> &mut AbstractGml
fn abstract_gml_mut(&mut self) -> &mut AbstractGml
Returns a mutable reference to the embedded AbstractGml base data.
Provided Methods§
Sourcefn set_id_opt(&mut self, id: Option<Id>)
fn set_id_opt(&mut self, id: Option<Id>)
Sets or clears the identifier of this GML object.
fn set_names(&mut self, names: Vec<Code>)
fn push_name(&mut self, name: Code)
fn extend_names(&mut self, names: impl IntoIterator<Item = Code>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".