pub struct MacBinary<R> { /* private fields */ }Implementations§
Source§impl<R: Read + Seek> MacBinary<R>
impl<R: Read + Seek> MacBinary<R>
pub fn try_new(value: R) -> Result<Self, Error>
pub fn try_new_with_config(value: R, config: Config) -> Result<Self, Error>
pub fn open_fork(&mut self, fork: Fork) -> Result<Reader<&mut R>, Error>
pub fn data_fork_len(&mut self) -> Result<u64, Error>
pub fn resource_fork_len(&mut self) -> Result<u64, Error>
pub fn data_fork(&mut self) -> Result<Reader<&mut R>, Error>
pub fn resource_fork(&mut self) -> Result<Reader<&mut R>, Error>
pub fn into_fork(self, fork: Fork) -> Result<Reader<R>, Error>
pub fn comment(&mut self) -> Result<String, Error>
pub fn into_data_fork(self) -> Result<Reader<R>, Error>
pub fn into_resource_fork(self) -> Result<Reader<R>, Error>
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for MacBinary<R>where
R: Freeze,
impl<R> RefUnwindSafe for MacBinary<R>where
R: RefUnwindSafe,
impl<R> Send for MacBinary<R>where
R: Send,
impl<R> Sync for MacBinary<R>where
R: Sync,
impl<R> Unpin for MacBinary<R>where
R: Unpin,
impl<R> UnwindSafe for MacBinary<R>where
R: UnwindSafe,
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