pub trait LdtkFromBytes<'a>: Deserialize<'a> {
// Provided method
fn from_bytes(bytes: &'a [u8]) -> Result<Self, ParseError> { ... }
}Provided Methods§
fn from_bytes(bytes: &'a [u8]) -> Result<Self, ParseError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.