Struct dae_parser::VisualScene
source · [−]pub struct VisualScene {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub nodes: Vec<Node>,
pub evaluate_scene: Vec<EvaluateScene>,
pub extra: Vec<Extra>,
}
Expand description
Embodies the entire set of information that can be visualized from the contents of a COLLADA resource.
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.
nodes: Vec<Node>
The scene graph subtrees.
evaluate_scene: Vec<EvaluateScene>
The EvaluateScene
element declares information
specifying how to evaluate this VisualScene
.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
Trait Implementations
sourceimpl Clone for VisualScene
impl Clone for VisualScene
sourcefn clone(&self) -> VisualScene
fn clone(&self) -> VisualScene
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 VisualScene
impl Debug for VisualScene
sourceimpl HasId for VisualScene
impl HasId for VisualScene
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 VisualScene
impl ParseLibrary for VisualScene
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 VisualScene
impl Traversable for VisualScene
Auto Trait Implementations
impl RefUnwindSafe for VisualScene
impl Send for VisualScene
impl Sync for VisualScene
impl Unpin for VisualScene
impl UnwindSafe for VisualScene
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