Struct mupdf_sys::fz_font_flags_t[][src]

#[repr(C)]
#[repr(align(4))]pub struct fz_font_flags_t {
    pub _bitfield_align_1: [u8; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
    pub __bindgen_padding_0: u16,
}

Every fz_font carries a set of flags within it, in a fz_font_flags_t structure.

Fields

_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>__bindgen_padding_0: u16

Implementations

impl fz_font_flags_t[src]

pub fn is_mono(&self) -> c_uint[src]

pub fn set_is_mono(&mut self, val: c_uint)[src]

pub fn is_serif(&self) -> c_uint[src]

pub fn set_is_serif(&mut self, val: c_uint)[src]

pub fn is_bold(&self) -> c_uint[src]

pub fn set_is_bold(&mut self, val: c_uint)[src]

pub fn is_italic(&self) -> c_uint[src]

pub fn set_is_italic(&mut self, val: c_uint)[src]

pub fn ft_substitute(&self) -> c_uint[src]

pub fn set_ft_substitute(&mut self, val: c_uint)[src]

pub fn ft_stretch(&self) -> c_uint[src]

pub fn set_ft_stretch(&mut self, val: c_uint)[src]

pub fn fake_bold(&self) -> c_uint[src]

pub fn set_fake_bold(&mut self, val: c_uint)[src]

pub fn fake_italic(&self) -> c_uint[src]

pub fn set_fake_italic(&mut self, val: c_uint)[src]

pub fn has_opentype(&self) -> c_uint[src]

pub fn set_has_opentype(&mut self, val: c_uint)[src]

pub fn invalid_bbox(&self) -> c_uint[src]

pub fn set_invalid_bbox(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    is_mono: c_uint,
    is_serif: c_uint,
    is_bold: c_uint,
    is_italic: c_uint,
    ft_substitute: c_uint,
    ft_stretch: c_uint,
    fake_bold: c_uint,
    fake_italic: c_uint,
    has_opentype: c_uint,
    invalid_bbox: c_uint
) -> __BindgenBitfieldUnit<[u8; 2]>
[src]

Trait Implementations

impl Clone for fz_font_flags_t[src]

impl Copy for fz_font_flags_t[src]

impl Debug for fz_font_flags_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.