[][src]Struct skia_bindings::SkFontArguments

#[repr(C)]
pub struct SkFontArguments {
    pub fCollectionIndex: c_int,
    pub fVariationDesignPosition: SkFontArguments_VariationPosition,
}

Fields

fCollectionIndex: c_intfVariationDesignPosition: SkFontArguments_VariationPosition

Methods

impl SkFontArguments[src]

pub unsafe fn setCollectionIndex(
    &mut self,
    collectionIndex: c_int
) -> *mut SkFontArguments
[src]

pub unsafe fn setAxes(
    &mut self,
    axes: *const SkFontArguments_Axis,
    axisCount: c_int
) -> *mut SkFontArguments
[src]

pub unsafe fn setVariationDesignPosition(
    &mut self,
    position: SkFontArguments_VariationPosition
) -> *mut SkFontArguments
[src]

pub unsafe fn getCollectionIndex(&self) -> c_int[src]

pub unsafe fn getAxes(
    &self,
    axisCount: *mut c_int
) -> *const SkFontArguments_Axis
[src]

pub unsafe fn getVariationDesignPosition(
    &self
) -> SkFontArguments_VariationPosition
[src]

pub unsafe fn new() -> Self[src]

Trait Implementations

impl Clone for SkFontArguments[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for SkFontArguments[src]

impl Debug for SkFontArguments[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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