#[repr(C, packed(1))]pub struct OBCompressionParams {
pub threshold: c_int,
}Expand description
Compression Params
Fields§
§threshold: c_intLossy compression threshold, range [0~255], recommended value is 9, the higher the threshold, the higher the compression ratio.
Trait Implementations§
Source§impl Clone for OBCompressionParams
impl Clone for OBCompressionParams
Source§fn clone(&self) -> OBCompressionParams
fn clone(&self) -> OBCompressionParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OBCompressionParams
Auto Trait Implementations§
impl Freeze for OBCompressionParams
impl RefUnwindSafe for OBCompressionParams
impl Send for OBCompressionParams
impl Sync for OBCompressionParams
impl Unpin for OBCompressionParams
impl UnsafeUnpin for OBCompressionParams
impl UnwindSafe for OBCompressionParams
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