Struct dae_parser::Param
source · [−]pub struct Param {
pub sid: Option<String>,
pub name: Option<String>,
pub ty: String,
pub semantic: Option<Semantic>,
}
Expand description
Declares parametric information for its parent element.
Fields
sid: Option<String>
A text string value containing the subidentifier of this element. This value must be unique within the scope of the parent element.
name: Option<String>
The text string name of this element.
ty: String
The type of the value data. This text string must be understood by the application.
semantic: Option<Semantic>
The user-defined meaning of the parameter.
Implementations
sourceimpl Param
impl Param
sourcepub fn new(name: impl Into<String>, ty: impl Into<String>) -> Self
pub fn new(name: impl Into<String>, ty: impl Into<String>) -> Self
Construct a new Param
with given name and type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnwindSafe for Param
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more