Struct rute::auto::pen_ffi::RUPenFuncs

source ·
#[repr(C)]
pub struct RUPenFuncs {
Show 24 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase), pub style: extern "C" fn(self_c: *const RUBase) -> i32, pub set_style: extern "C" fn(self_c: *const RUBase, arg0: i32), pub dash_offset: extern "C" fn(self_c: *const RUBase) -> f32, pub set_dash_offset: extern "C" fn(self_c: *const RUBase, doffset: f32), pub miter_limit: extern "C" fn(self_c: *const RUBase) -> f32, pub set_miter_limit: extern "C" fn(self_c: *const RUBase, limit: f32), pub width_f: extern "C" fn(self_c: *const RUBase) -> f32, pub set_width_f: extern "C" fn(self_c: *const RUBase, width: f32), pub width: extern "C" fn(self_c: *const RUBase) -> i32, pub set_width: extern "C" fn(self_c: *const RUBase, width: i32), pub color: extern "C" fn(self_c: *const RUBase) -> RUColor, pub set_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase), pub brush: extern "C" fn(self_c: *const RUBase) -> RUBrush, pub set_brush: extern "C" fn(self_c: *const RUBase, brush: *const RUBase), pub is_solid: extern "C" fn(self_c: *const RUBase) -> bool, pub cap_style: extern "C" fn(self_c: *const RUBase) -> i32, pub set_cap_style: extern "C" fn(self_c: *const RUBase, pcs: i32), pub join_style: extern "C" fn(self_c: *const RUBase) -> i32, pub set_join_style: extern "C" fn(self_c: *const RUBase, pcs: i32), pub is_cosmetic: extern "C" fn(self_c: *const RUBase) -> bool, pub set_cosmetic: extern "C" fn(self_c: *const RUBase, cosmetic: bool), pub is_detached: extern "C" fn(self_c: *const RUBase) -> bool,
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)style: extern "C" fn(self_c: *const RUBase) -> i32set_style: extern "C" fn(self_c: *const RUBase, arg0: i32)dash_offset: extern "C" fn(self_c: *const RUBase) -> f32set_dash_offset: extern "C" fn(self_c: *const RUBase, doffset: f32)miter_limit: extern "C" fn(self_c: *const RUBase) -> f32set_miter_limit: extern "C" fn(self_c: *const RUBase, limit: f32)width_f: extern "C" fn(self_c: *const RUBase) -> f32set_width_f: extern "C" fn(self_c: *const RUBase, width: f32)width: extern "C" fn(self_c: *const RUBase) -> i32set_width: extern "C" fn(self_c: *const RUBase, width: i32)color: extern "C" fn(self_c: *const RUBase) -> RUColorset_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase)brush: extern "C" fn(self_c: *const RUBase) -> RUBrushset_brush: extern "C" fn(self_c: *const RUBase, brush: *const RUBase)is_solid: extern "C" fn(self_c: *const RUBase) -> boolcap_style: extern "C" fn(self_c: *const RUBase) -> i32set_cap_style: extern "C" fn(self_c: *const RUBase, pcs: i32)join_style: extern "C" fn(self_c: *const RUBase) -> i32set_join_style: extern "C" fn(self_c: *const RUBase, pcs: i32)is_cosmetic: extern "C" fn(self_c: *const RUBase) -> boolset_cosmetic: extern "C" fn(self_c: *const RUBase, cosmetic: bool)is_detached: extern "C" fn(self_c: *const RUBase) -> bool

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.