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) -> i32
set_style: extern "C" fn(self_c: *const RUBase, arg0: i32)
dash_offset: extern "C" fn(self_c: *const RUBase) -> f32
set_dash_offset: extern "C" fn(self_c: *const RUBase, doffset: f32)
miter_limit: extern "C" fn(self_c: *const RUBase) -> f32
set_miter_limit: extern "C" fn(self_c: *const RUBase, limit: f32)
width_f: extern "C" fn(self_c: *const RUBase) -> f32
set_width_f: extern "C" fn(self_c: *const RUBase, width: f32)
width: extern "C" fn(self_c: *const RUBase) -> i32
set_width: extern "C" fn(self_c: *const RUBase, width: i32)
color: extern "C" fn(self_c: *const RUBase) -> RUColor
set_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase)
brush: extern "C" fn(self_c: *const RUBase) -> RUBrush
set_brush: extern "C" fn(self_c: *const RUBase, brush: *const RUBase)
is_solid: extern "C" fn(self_c: *const RUBase) -> bool
cap_style: extern "C" fn(self_c: *const RUBase) -> i32
set_cap_style: extern "C" fn(self_c: *const RUBase, pcs: i32)
join_style: extern "C" fn(self_c: *const RUBase) -> i32
set_join_style: extern "C" fn(self_c: *const RUBase, pcs: i32)
is_cosmetic: extern "C" fn(self_c: *const RUBase) -> bool
set_cosmetic: extern "C" fn(self_c: *const RUBase, cosmetic: bool)
is_detached: extern "C" fn(self_c: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUPenFuncs
impl Clone for RUPenFuncs
sourcefn clone(&self) -> RUPenFuncs
fn clone(&self) -> RUPenFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUPenFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPenFuncs
impl Send for RUPenFuncs
impl Sync for RUPenFuncs
impl Unpin for RUPenFuncs
impl UnwindSafe for RUPenFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more