### FBX Version Method Example Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Example showing how to use `any::AnyTree::fbx_version()` to get the FBX version. ```text Using this, users can get FBX version of the tree even if the `AnyTree` variant is unknown for users. ``` -------------------------------- ### FBX Version Field Example Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Example illustrating the use of the FBX version field for re-exporting trees. ```text For example, when users want to re-export the tree, they might want to know FBX version of the source document. ``` -------------------------------- ### get_{{types}}_or_type() example Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Example demonstrating the usage of get_{{types}}_or_type() methods for attribute value retrieval with type checking. ```rust let val = attr.get_i64_or_type().map_err(|ty| Error::new("Expected i64 but got {:?}", ty))?; ``` -------------------------------- ### Non-exhaustive Enums Example Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Explanation of using `#[non_exhaustive]` for enums to make future changes non-breaking. ```text Users won't affected by this internal change. ``` -------------------------------- ### Applying the Apache License Source: https://github.com/lo48576/fbxcel/blob/develop/LICENSE-APACHE.txt This snippet shows the boilerplate text to include when applying the Apache License to your work. ```text Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ``` -------------------------------- ### Manual Tree Construction Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Explanation of manual tree construction support, including adding nodes and attributes. ```text You can add nodes and attributes manually to the tree at runtime. You can describe the tree using `tree_v7400!` macro at compile time. ``` -------------------------------- ### Debug Tree Implementation Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Explanation of the `tree::v7400::Tree::debug_tree()` method for pretty-printing trees. ```text This returns pretty-printable object of the tree. It dumps human-readable tree structure. Default `Debug` implementation for `Tree` is hard to read because it dumps arena and interned string table. ``` -------------------------------- ### AttributeValue From Implementations Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md List of types for which `low::v7400::AttributeValue` implements `From<_>`. ```text Primitive types: `bool`, `i16`, `i32`, `i64`, `f32`, `f64`. Vector types: `Vec`, `Vec`, `Vec`, `Vec`, `Vec`, `Vec`. Slice types: `&[bool]`, `&[i32]`, `&[i64]`, `&[f32]`, `&[f64]`, `&[u8]`. Special types: `String`, `&str`. ``` -------------------------------- ### Non-exhaustive Warning Variants Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md New warning variants for handling missing or extra node end markers. ```text Two new variants `Warning::{ExtraNodeEndMarker, MissingNodeEndMarker}` are added to `pull_parser::error::Warning` type. - Note that `Warning` have been nonexhaustive since this release. ``` -------------------------------- ### Node End Marker Handling Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Description of how missing or extra node end markers are now handled as warnings. ```text Previously, missing node end markers caused errors, and extra node end markers were silently ignored. Now they are notified as warnings. Users can choose whether to continue or abort processing. ``` -------------------------------- ### FBX Binary Writer Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Information about the added FBX binary writer and its feature flag. ```text `writer::v7400::binary` contains FBX binary writer stuff. This can be enabled by `writer` feature. `write_v7400_binary!` macro is also added. See the documentation for detail. ``` -------------------------------- ### Strict Equality Check Source: https://github.com/lo48576/fbxcel/blob/develop/CHANGELOG.md Details on the strict equality check for trees, nodes, and attribute values. ```text Trees: `tree::v7400::Tree::strict_eq()`. Nodes: `tree::v7400::NodeHandle::strict_eq()`. Attributes: `low::v7400::AttributeValue::strict_eq()`. These checks compares `f32` and `f64` bitwise. This means `NAN == NAN` situation is possible. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.