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