Struct rute::auto::gradient_ffi::RUGradientFuncs
source · #[repr(C)]pub struct RUGradientFuncs {
pub destroy: extern "C" fn(self_c: *const RUBase),
pub get_type: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_spread: extern "C" fn(self_c: *const RUBase, spread: u32),
pub spread: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_color_at: extern "C" fn(self_c: *const RUBase, pos: f32, color: *const RUBase),
pub coordinate_mode: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_coordinate_mode: extern "C" fn(self_c: *const RUBase, mode: u32),
pub interpolation_mode: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_interpolation_mode: extern "C" fn(self_c: *const RUBase, mode: u32),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
get_type: extern "C" fn(self_c: *const RUBase) -> u32
set_spread: extern "C" fn(self_c: *const RUBase, spread: u32)
spread: extern "C" fn(self_c: *const RUBase) -> u32
set_color_at: extern "C" fn(self_c: *const RUBase, pos: f32, color: *const RUBase)
coordinate_mode: extern "C" fn(self_c: *const RUBase) -> u32
set_coordinate_mode: extern "C" fn(self_c: *const RUBase, mode: u32)
interpolation_mode: extern "C" fn(self_c: *const RUBase) -> u32
set_interpolation_mode: extern "C" fn(self_c: *const RUBase, mode: u32)
Trait Implementations
sourceimpl Clone for RUGradientFuncs
impl Clone for RUGradientFuncs
sourcefn clone(&self) -> RUGradientFuncs
fn clone(&self) -> RUGradientFuncs
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 RUGradientFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUGradientFuncs
impl Send for RUGradientFuncs
impl Sync for RUGradientFuncs
impl Unpin for RUGradientFuncs
impl UnwindSafe for RUGradientFuncs
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