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§
Source§impl Clone for VisualScene
impl Clone for VisualScene
Source§fn clone(&self) -> VisualScene
fn clone(&self) -> VisualScene
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 VisualScene
impl Debug for VisualScene
Source§impl HasId for VisualScene
impl HasId for VisualScene
Source§impl ParseLibrary for VisualScene
impl ParseLibrary for VisualScene
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
.Source§impl Traversable for VisualScene
impl Traversable for VisualScene
Auto Trait Implementations§
impl Freeze for VisualScene
impl RefUnwindSafe for VisualScene
impl Send for VisualScene
impl Sync for VisualScene
impl Unpin for VisualScene
impl UnwindSafe for VisualScene
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more