pub trait SerializeAtom: Sized {
// Required methods
fn atom_type(&self) -> FourCC;
fn into_body_bytes(self) -> Vec<u8> ⓘ;
// Provided method
fn into_bytes(self) -> Vec<u8> ⓘ { ... }
}Required Methods§
Sourcefn into_body_bytes(self) -> Vec<u8> ⓘ
fn into_body_bytes(self) -> Vec<u8> ⓘ
Serialize an atom’s body
Provided Methods§
Sourcefn into_bytes(self) -> Vec<u8> ⓘ
fn into_bytes(self) -> Vec<u8> ⓘ
Serialize an atom into bytes
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.