Struct dae_parser::ForceField
source · [−]pub struct ForceField {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub technique: Vec<Technique>,
pub extra: Vec<Extra>,
}
Expand description
Provides a general container for force fields.
At the moment, it contains only techniques and extra elements.
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.
technique: Vec<Technique>
Declares the information used to process some portion of the content.
This field is always nonempty, because the spec provides no common data
for force_field
elements.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Trait Implementations
sourceimpl Clone for ForceField
impl Clone for ForceField
sourcefn clone(&self) -> ForceField
fn clone(&self) -> ForceField
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ForceField
impl Debug for ForceField
sourceimpl Default for ForceField
impl Default for ForceField
sourcefn default() -> ForceField
fn default() -> ForceField
Returns the “default value” for a type. Read more
sourceimpl HasId for ForceField
impl HasId for ForceField
sourcefn get_local_map<'a, 'b>(
maps: &'b LocalMaps<'a>
) -> &'b Option<LocalMap<'a, Self>>
fn get_local_map<'a, 'b>(
maps: &'b LocalMaps<'a>
) -> &'b Option<LocalMap<'a, Self>>
Extract the relevant
LocalMap
field from a LocalMaps
.sourcefn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
Extract the relevant
LocalMap
field from a LocalMaps
.sourceimpl ParseLibrary for ForceField
impl ParseLibrary for ForceField
sourcefn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
Extract the library from a single
LibraryElement
.sourcefn mk_element(lib: Library<Self>) -> LibraryElement
fn mk_element(lib: Library<Self>) -> LibraryElement
Make a
LibraryElement
from a Library
.sourceimpl Traversable for ForceField
impl Traversable for ForceField
Auto Trait Implementations
impl RefUnwindSafe for ForceField
impl Send for ForceField
impl Sync for ForceField
impl Unpin for ForceField
impl UnwindSafe for ForceField
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