pub struct SeaDecoder<'inp> { /* private fields */ }Implementations§
Source§impl<'inp> SeaDecoder<'inp>
impl<'inp> SeaDecoder<'inp>
pub fn from_reader<R: Read + 'inp>(reader: R) -> Result<Self, SeaError>
pub fn from_slice(data: &'inp [u8]) -> Result<Self, SeaError>
pub fn decode_frame(&mut self, result: &mut Vec<i16>) -> Result<bool, SeaError>
pub fn get_header(&self) -> SeaFileHeader
Auto Trait Implementations§
impl<'inp> Freeze for SeaDecoder<'inp>
impl<'inp> !RefUnwindSafe for SeaDecoder<'inp>
impl<'inp> !Send for SeaDecoder<'inp>
impl<'inp> !Sync for SeaDecoder<'inp>
impl<'inp> Unpin for SeaDecoder<'inp>
impl<'inp> !UnwindSafe for SeaDecoder<'inp>
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