Struct rute::auto::brush_ffi::RUBrushFuncs
source · #[repr(C)]pub struct RUBrushFuncs {Show 14 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) -> u32,
pub set_style: extern "C" fn(self_c: *const RUBase, arg0: u32),
pub set_transform: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub texture: extern "C" fn(self_c: *const RUBase) -> RUPixmap,
pub set_texture: extern "C" fn(self_c: *const RUBase, pixmap: *const RUBase),
pub texture_image: extern "C" fn(self_c: *const RUBase) -> RUImage,
pub set_texture_image: extern "C" fn(self_c: *const RUBase, image: *const RUBase),
pub color: extern "C" fn(self_c: *const RUBase) -> RUColor,
pub set_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase),
pub set_color_2: extern "C" fn(self_c: *const RUBase, color: u32),
pub is_opaque: extern "C" fn(self_c: *const RUBase) -> 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) -> u32
set_style: extern "C" fn(self_c: *const RUBase, arg0: u32)
set_transform: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
texture: extern "C" fn(self_c: *const RUBase) -> RUPixmap
set_texture: extern "C" fn(self_c: *const RUBase, pixmap: *const RUBase)
texture_image: extern "C" fn(self_c: *const RUBase) -> RUImage
set_texture_image: extern "C" fn(self_c: *const RUBase, image: *const RUBase)
color: extern "C" fn(self_c: *const RUBase) -> RUColor
set_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase)
set_color_2: extern "C" fn(self_c: *const RUBase, color: u32)
is_opaque: extern "C" fn(self_c: *const RUBase) -> bool
is_detached: extern "C" fn(self_c: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUBrushFuncs
impl Clone for RUBrushFuncs
sourcefn clone(&self) -> RUBrushFuncs
fn clone(&self) -> RUBrushFuncs
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 RUBrushFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUBrushFuncs
impl Send for RUBrushFuncs
impl Sync for RUBrushFuncs
impl Unpin for RUBrushFuncs
impl UnwindSafe for RUBrushFuncs
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