#[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) -> u32set_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) -> RUPixmapset_texture: extern "C" fn(self_c: *const RUBase, pixmap: *const RUBase)texture_image: extern "C" fn(self_c: *const RUBase) -> RUImageset_texture_image: extern "C" fn(self_c: *const RUBase, image: *const RUBase)color: extern "C" fn(self_c: *const RUBase) -> RUColorset_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) -> boolis_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.