Struct leptonica_sys::L_Compressed_Data
source · #[repr(C)]pub struct L_Compressed_Data {Show 16 fields
pub type_: l_int32,
pub datacomp: *mut l_uint8,
pub nbytescomp: usize,
pub data85: *mut c_char,
pub nbytes85: usize,
pub cmapdata85: *mut c_char,
pub cmapdatahex: *mut c_char,
pub ncolors: l_int32,
pub w: l_int32,
pub h: l_int32,
pub bps: l_int32,
pub spp: l_int32,
pub minisblack: l_int32,
pub predictor: l_int32,
pub nbytes: usize,
pub res: l_int32,
}Fields§
§type_: l_int32§datacomp: *mut l_uint8§nbytescomp: usize§data85: *mut c_char§nbytes85: usize§cmapdata85: *mut c_char§cmapdatahex: *mut c_char§ncolors: l_int32§w: l_int32§h: l_int32§bps: l_int32§spp: l_int32§minisblack: l_int32§predictor: l_int32§nbytes: usize§res: l_int32Trait Implementations§
source§impl Clone for L_Compressed_Data
impl Clone for L_Compressed_Data
source§fn clone(&self) -> L_Compressed_Data
fn clone(&self) -> L_Compressed_Data
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for L_Compressed_Data
impl Debug for L_Compressed_Data
impl Copy for L_Compressed_Data
Auto Trait Implementations§
impl RefUnwindSafe for L_Compressed_Data
impl !Send for L_Compressed_Data
impl !Sync for L_Compressed_Data
impl Unpin for L_Compressed_Data
impl UnwindSafe for L_Compressed_Data
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