Struct skia_bindings::SkContourMeasure_Segment
source · #[repr(C)]pub struct SkContourMeasure_Segment {
pub fDistance: SkScalar,
pub fPtIndex: c_uint,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§fDistance: SkScalar
§fPtIndex: c_uint
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
source§impl SkContourMeasure_Segment
impl SkContourMeasure_Segment
pub fn fTValue(&self) -> c_uint
pub fn set_fTValue(&mut self, val: c_uint)
pub fn fType(&self) -> c_uint
pub fn set_fType(&mut self, val: c_uint)
pub fn new_bitfield_1( fTValue: c_uint, fType: c_uint ) -> __BindgenBitfieldUnit<[u8; 4]>
pub unsafe fn getScalarT(&self) -> SkScalar
Trait Implementations§
source§impl Clone for SkContourMeasure_Segment
impl Clone for SkContourMeasure_Segment
source§fn clone(&self) -> SkContourMeasure_Segment
fn clone(&self) -> SkContourMeasure_Segment
Returns a copy 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 SkContourMeasure_Segment
impl Debug for SkContourMeasure_Segment
impl Copy for SkContourMeasure_Segment
Auto Trait Implementations§
impl RefUnwindSafe for SkContourMeasure_Segment
impl Send for SkContourMeasure_Segment
impl Sync for SkContourMeasure_Segment
impl Unpin for SkContourMeasure_Segment
impl UnwindSafe for SkContourMeasure_Segment
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