pub struct Project { /* private fields */ }
Implementations§
Source§impl Project
impl Project
pub fn from_reader<R: Read + Seek>( reader: QWaveReader<R>, ) -> Result<Self, String>
pub fn set_loop(&mut self, sample_loop: Option<Range<u32>>)
pub fn sample_rate(&self) -> u32
pub fn samples(&self) -> &[i16]
pub fn blend(&mut self, window_sz: u32) -> Result<(), String>
pub fn blend_default_window(&mut self) -> Result<(), String>
pub fn write_to(&self, outpath: &impl AsRef<Path>) -> Result<(), String>
pub fn validate(&self) -> Result<(), String>
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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