Struct mupdf_sys::fz_font_flags_t [−][src]
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]
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]>
Trait Implementations
impl Clone for fz_font_flags_t
[src]
fn clone(&self) -> fz_font_flags_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for fz_font_flags_t
[src]
impl Debug for fz_font_flags_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for fz_font_flags_t
impl Send for fz_font_flags_t
impl Sync for fz_font_flags_t
impl Unpin for fz_font_flags_t
impl UnwindSafe for fz_font_flags_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>,