pub struct BinaryFormat;Expand description
A binary format of object file data.
Trait Implementations§
source§impl ObjFileFormat for BinaryFormat
impl ObjFileFormat for BinaryFormat
source§fn serialize(o: &ObjectFile) -> <Self::Stream as ToOwned>::Owned
fn serialize(o: &ObjectFile) -> <Self::Stream as ToOwned>::Owned
Serializes into the stream format.
source§fn deserialize(vec: &Self::Stream) -> Option<ObjectFile>
fn deserialize(vec: &Self::Stream) -> Option<ObjectFile>
Deserializes from the stream format, returning
None
if an error occurred during deserialization.Auto Trait Implementations§
impl Freeze for BinaryFormat
impl RefUnwindSafe for BinaryFormat
impl Send for BinaryFormat
impl Sync for BinaryFormat
impl Unpin for BinaryFormat
impl UnwindSafe for BinaryFormat
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