#[repr(C)]pub struct ttf_point {
pub x: f32,
pub y: f32,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}Expand description
@brief The outline point struct
Fields§
§x: f32§y: f32§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>Implementations§
Source§impl ttf_point
impl ttf_point
pub fn spl(&self) -> u32
pub fn set_spl(&mut self, val: u32)
pub fn onc(&self) -> u32
pub fn set_onc(&mut self, val: u32)
pub fn res(&self) -> u32
pub fn set_res(&mut self, val: u32)
pub fn new_bitfield_1( spl: u32, onc: u32, res: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ttf_point
impl RefUnwindSafe for ttf_point
impl Send for ttf_point
impl Sync for ttf_point
impl Unpin for ttf_point
impl UnwindSafe for ttf_point
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