Skip to main content

OwnedDocument

Struct OwnedDocument 

Source
pub struct OwnedDocument {
Show 29 fields pub fbx_version: u32, pub creator: String, pub creation_date: [u32; 7], pub global_settings: OwnedGlobalSettings, pub models: Vec<Model>, pub mesh_geometries: Vec<MeshGeometry>, pub line_geometries: Vec<LineGeometry>, pub shape_geometries: Vec<ShapeGeometry>, pub unknown_geometries: Vec<OwnedObject>, pub cameras: Vec<Camera>, pub camera_switchers: Vec<CameraSwitcher>, pub lights: Vec<Light>, pub null_nodes: Vec<NullNode>, pub limb_nodes: Vec<LimbNode>, pub unknown_node_attributes: Vec<OwnedObject>, pub materials: Vec<Material>, pub textures: Vec<Texture>, pub layered_textures: Vec<LayeredTexture>, pub videos: Vec<Video>, pub clusters: Vec<Cluster>, pub skins: Vec<Skin>, pub blend_shapes: Vec<BlendShape>, pub blend_shape_channels: Vec<BlendShapeChannel>, pub unknown_deformers: Vec<OwnedObject>, pub animation_stacks: Vec<AnimationStack>, pub animation_layers: Vec<AnimationLayer>, pub animation_curves: Vec<AnimationCurve>, pub animation_curve_nodes: Vec<AnimationCurveNode>, pub unknown_objects: Vec<OwnedObject>,
}
Expand description

Fully owned FBX DOM view: header, definitions, globals, connection graph, and typed object rows.

Fields§

§fbx_version: u32§creator: String§creation_date: [u32; 7]§global_settings: OwnedGlobalSettings§models: Vec<Model>§mesh_geometries: Vec<MeshGeometry>§line_geometries: Vec<LineGeometry>§shape_geometries: Vec<ShapeGeometry>§unknown_geometries: Vec<OwnedObject>§cameras: Vec<Camera>§camera_switchers: Vec<CameraSwitcher>§lights: Vec<Light>§null_nodes: Vec<NullNode>§limb_nodes: Vec<LimbNode>§unknown_node_attributes: Vec<OwnedObject>§materials: Vec<Material>§textures: Vec<Texture>§layered_textures: Vec<LayeredTexture>§videos: Vec<Video>§clusters: Vec<Cluster>§skins: Vec<Skin>§blend_shapes: Vec<BlendShape>§blend_shape_channels: Vec<BlendShapeChannel>§unknown_deformers: Vec<OwnedObject>§animation_stacks: Vec<AnimationStack>§animation_layers: Vec<AnimationLayer>§animation_curves: Vec<AnimationCurve>§animation_curve_nodes: Vec<AnimationCurveNode>§unknown_objects: Vec<OwnedObject>

Trait Implementations§

Source§

impl Debug for OwnedDocument

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OwnedDocument

Source§

fn default() -> OwnedDocument

Returns the “default value” for a type. Read more
Source§

impl From<Document> for OwnedDocument

Source§

fn from(document: Document) -> Self

Classifies every Objects row; header and crate::objects::OwnedGlobalSettings are copied; connection maps are only preserved per-OwnedObject, not on this struct.

Source§

impl PartialEq for OwnedDocument

Source§

fn eq(&self, other: &OwnedDocument) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for OwnedDocument

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.