#[non_exhaustive]pub enum GltfFormatChoice {
Glb,
JsonEmbedded,
JsonExternal,
}Expand description
-gltf-format value. Selects the glTF on-disk container.
JsonExternal is documented but not yet implementable today
(the underlying OutputFlavour::JsonExternal is missing in
published oxideav-gltf 0.0.0); the args parser accepts the
token now and the encoder will reject it cleanly until the
upstream variant lands. See gltf-rN follow-up.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Glb
.glb self-contained binary container.
JsonEmbedded
.gltf JSON document with the binary buffer inlined as a
base64 data:application/octet-stream;base64,… URI.
JsonExternal
.gltf JSON document referencing a sidecar .bin file.
Reserved — emits an “unsupported” error today (gltf-rN).
Implementations§
Trait Implementations§
Source§impl Clone for GltfFormatChoice
impl Clone for GltfFormatChoice
impl Copy for GltfFormatChoice
Source§impl Debug for GltfFormatChoice
impl Debug for GltfFormatChoice
impl Eq for GltfFormatChoice
Source§impl PartialEq for GltfFormatChoice
impl PartialEq for GltfFormatChoice
impl StructuralPartialEq for GltfFormatChoice
Auto Trait Implementations§
impl Freeze for GltfFormatChoice
impl RefUnwindSafe for GltfFormatChoice
impl Send for GltfFormatChoice
impl Sync for GltfFormatChoice
impl Unpin for GltfFormatChoice
impl UnsafeUnpin for GltfFormatChoice
impl UnwindSafe for GltfFormatChoice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.