Type Alias freetype::freetype::FT_StreamRec

source ·
pub type FT_StreamRec = FT_StreamRec_;

Aliased Type§

struct FT_StreamRec {
    pub base: *mut u8,
    pub size: u64,
    pub pos: u64,
    pub descriptor: FT_StreamDesc_,
    pub pathname: FT_StreamDesc_,
    pub read: Option<unsafe extern "C" fn(_: *mut FT_StreamRec_, _: u64, _: *mut u8, _: u64) -> u64>,
    pub close: Option<unsafe extern "C" fn(_: *mut FT_StreamRec_)>,
    pub memory: *mut FT_MemoryRec_,
    pub cursor: *mut u8,
    pub limit: *mut u8,
}

Fields§

§base: *mut u8§size: u64§pos: u64§descriptor: FT_StreamDesc_§pathname: FT_StreamDesc_§read: Option<unsafe extern "C" fn(_: *mut FT_StreamRec_, _: u64, _: *mut u8, _: u64) -> u64>§close: Option<unsafe extern "C" fn(_: *mut FT_StreamRec_)>§memory: *mut FT_MemoryRec_§cursor: *mut u8§limit: *mut u8

Trait Implementations§

source§

impl Clone for FT_StreamRec_

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FT_StreamRec_

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for FT_StreamRec_