Struct dae_parser::Controller
source · pub struct Controller {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub element: ControlElement,
pub extra: Vec<Extra>,
}
Expand description
Categorizes the declaration of generic control information.
Fields§
§id: Option<String>
A text string containing the unique identifier of the element.
name: Option<String>
The text string name of this element.
asset: Option<Box<Asset>>
Asset management information about this element.
element: ControlElement
The element that contains control data.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
source§impl Controller
impl Controller
sourcepub fn new(element: ControlElement) -> Self
pub fn new(element: ControlElement) -> Self
Create a new Controller
from a ControlElement
.
Trait Implementations§
source§impl Clone for Controller
impl Clone for Controller
source§fn clone(&self) -> Controller
fn clone(&self) -> Controller
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Controller
impl Debug for Controller
source§impl HasId for Controller
impl HasId for Controller
source§impl ParseLibrary for Controller
impl ParseLibrary for Controller
source§fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
Extract the library from a single
LibraryElement
.source§fn mk_element(lib: Library<Self>) -> LibraryElement
fn mk_element(lib: Library<Self>) -> LibraryElement
Make a
LibraryElement
from a Library
.