Struct mupdf_sys::fz_shaper_data_t [−][src]
In order to shape a given font, we need to declare it to a shaper library (harfbuzz, by default, but others are possible). To avoid redeclaring it every time we need to shape, we hold a shaper handle and the destructor for it within the font itself. The handle is initialised by the caller when first required and the destructor is called when the fz_font is destroyed.
Fields
shaper_handle: *mut c_void
destroy: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg1: *mut c_void)>
Trait Implementations
impl Clone for fz_shaper_data_t
[src]
fn clone(&self) -> fz_shaper_data_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for fz_shaper_data_t
[src]
impl Debug for fz_shaper_data_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for fz_shaper_data_t
impl !Send for fz_shaper_data_t
impl !Sync for fz_shaper_data_t
impl Unpin for fz_shaper_data_t
impl UnwindSafe for fz_shaper_data_t
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,