pub struct LineBuf {
pub size: usize,
pub pre_size: u32,
pub flags: u32,
pub data: LineBufData,
}Expand description
A single line (row) of sample data used throughout the wavelet and coding
pipeline — port of the C++ line_buf.
The pointer stored in data is not owned by this
struct; it borrows from an arena allocator.
Fields§
§size: usizeNumber of samples in this line.
pre_size: u32Extra samples prepended before the line (for filter padding).
flags: u32Combination of LFT_* flag constants describing the element type.
data: LineBufDataPointer into the backing buffer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineBuf
impl RefUnwindSafe for LineBuf
impl !Send for LineBuf
impl !Sync for LineBuf
impl Unpin for LineBuf
impl UnsafeUnpin for LineBuf
impl UnwindSafe for LineBuf
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