[−][src]Struct x3::x3::Parameters
Fields
block_len: usize
blocks_per_frame: usize
codes: [usize; 3]
thresholds: [usize; 3]
rice_codes: [&'static RiceCode; 3]
Implementations
impl Parameters
[src]
pub const MAX_BLOCK_LENGTH: usize
[src]
pub const WAV_BIT_SIZE: usize
[src]
pub const DEFAULT_BLOCK_LENGTH: usize
[src]
pub const DEFAULT_RICE_CODES: [usize; 3]
[src]
pub const DEFAULT_THRESHOLDS: [usize; 3]
[src]
pub const DEFAULT_BLOCKS_PER_FRAME: usize
[src]
pub fn new(
block_len: usize,
blocks_per_frame: usize,
codes: [usize; 3],
thresholds: [usize; 3]
) -> Result<Self, X3Error>
[src]
block_len: usize,
blocks_per_frame: usize,
codes: [usize; 3],
thresholds: [usize; 3]
) -> Result<Self, X3Error>
pub fn default() -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,