#[repr(C)]pub struct textfont_t {
pub name: *mut c_char,
pub color: *mut c_char,
pub postscript_alias: *mut PostscriptAlias,
pub size: f64,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}Fields§
§name: *mut c_char§color: *mut c_char§postscript_alias: *mut PostscriptAlias§size: f64§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>Implementations§
Source§impl textfont_t
impl textfont_t
pub fn flags(&self) -> c_uint
pub fn set_flags(&mut self, val: c_uint)
pub unsafe fn flags_raw(this: *const Self) -> c_uint
pub unsafe fn set_flags_raw(this: *mut Self, val: c_uint)
pub fn cnt(&self) -> c_uint
pub fn set_cnt(&mut self, val: c_uint)
pub unsafe fn cnt_raw(this: *const Self) -> c_uint
pub unsafe fn set_cnt_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( flags: c_uint, cnt: c_uint, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for textfont_t
impl Clone for textfont_t
Source§fn clone(&self) -> textfont_t
fn clone(&self) -> textfont_t
Returns a duplicate 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 textfont_t
impl Debug for textfont_t
impl Copy for textfont_t
Auto Trait Implementations§
impl Freeze for textfont_t
impl RefUnwindSafe for textfont_t
impl !Send for textfont_t
impl !Sync for textfont_t
impl Unpin for textfont_t
impl UnwindSafe for textfont_t
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