pub struct GltfAnimationAddressabilityInput { /* private fields */ }Expand description
Staged bounded reader input for a standalone addressability document.
Implementations§
Source§impl GltfAnimationAddressabilityInput
impl GltfAnimationAddressabilityInput
Sourcepub fn read_from(
reader: impl Read,
) -> Result<Self, GltfAnimationAddressabilityReadError>
pub fn read_from( reader: impl Read, ) -> Result<Self, GltfAnimationAddressabilityReadError>
Read one document through the immutable byte bound before JSON parsing.
§Errors
Returns a typed I/O, N+1 size, or JSON-shape error. Semantic validation
remains in Self::into_report.
Sourcepub fn into_report(
self,
) -> Result<GltfAnimationAddressabilityReadbackV1, GltfAnimationAddressabilityError>
pub fn into_report( self, ) -> Result<GltfAnimationAddressabilityReadbackV1, GltfAnimationAddressabilityError>
Validate every contract identity and recover the strict read-only report.
§Errors
Returns a typed error for a wrong header, malformed tool identity, invalid inventory, input mismatch, or invalid Bevy adapter lifecycle.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GltfAnimationAddressabilityInput
impl<'de> Deserialize<'de> for GltfAnimationAddressabilityInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GltfAnimationAddressabilityInput
impl RefUnwindSafe for GltfAnimationAddressabilityInput
impl Send for GltfAnimationAddressabilityInput
impl Sync for GltfAnimationAddressabilityInput
impl Unpin for GltfAnimationAddressabilityInput
impl UnsafeUnpin for GltfAnimationAddressabilityInput
impl UnwindSafe for GltfAnimationAddressabilityInput
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