#[repr(C)]pub struct KS_COMPRESSION {
pub RatioNumerator: u32,
pub RatioDenominator: u32,
pub RatioConstantMargin: u32,
}Fields§
§RatioNumerator: u32§RatioDenominator: u32§RatioConstantMargin: u32Trait Implementations§
Source§impl Abi for KS_COMPRESSION
impl Abi for KS_COMPRESSION
Source§type Abi = KS_COMPRESSION
type Abi = KS_COMPRESSION
The abi representation of the implementing type. Read more
Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for KS_COMPRESSION
impl Clone for KS_COMPRESSION
Source§fn clone(&self) -> KS_COMPRESSION
fn clone(&self) -> KS_COMPRESSION
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 KS_COMPRESSION
Source§impl Debug for KS_COMPRESSION
impl Debug for KS_COMPRESSION
Source§impl Default for KS_COMPRESSION
impl Default for KS_COMPRESSION
impl Eq for KS_COMPRESSION
Auto Trait Implementations§
impl Freeze for KS_COMPRESSION
impl RefUnwindSafe for KS_COMPRESSION
impl Send for KS_COMPRESSION
impl Sync for KS_COMPRESSION
impl Unpin for KS_COMPRESSION
impl UnsafeUnpin for KS_COMPRESSION
impl UnwindSafe for KS_COMPRESSION
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