pub struct AmemReader;Expand description
Reader for .amem binary files.
Implementations§
Source§impl AmemReader
impl AmemReader
Sourcepub fn read_from_file(path: &Path) -> AmemResult<MemoryGraph>
pub fn read_from_file(path: &Path) -> AmemResult<MemoryGraph>
Read an .amem file into a MemoryGraph.
Sourcepub fn read_from(reader: &mut impl Read) -> AmemResult<MemoryGraph>
pub fn read_from(reader: &mut impl Read) -> AmemResult<MemoryGraph>
Read from any reader into a MemoryGraph.
Auto Trait Implementations§
impl Freeze for AmemReader
impl RefUnwindSafe for AmemReader
impl Send for AmemReader
impl Sync for AmemReader
impl Unpin for AmemReader
impl UnsafeUnpin for AmemReader
impl UnwindSafe for AmemReader
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