Struct rute::auto::line_ffi::RULineFuncs
source · #[repr(C)]pub struct RULineFuncs {Show 15 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub is_null: extern "C" fn(self_c: *const RUBase) -> bool,
pub p1: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub p2: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub x1: extern "C" fn(self_c: *const RUBase) -> i32,
pub y1: extern "C" fn(self_c: *const RUBase) -> i32,
pub x2: extern "C" fn(self_c: *const RUBase) -> i32,
pub y2: extern "C" fn(self_c: *const RUBase) -> i32,
pub dx: extern "C" fn(self_c: *const RUBase) -> i32,
pub dy: extern "C" fn(self_c: *const RUBase) -> i32,
pub center: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub set_p1: extern "C" fn(self_c: *const RUBase, p1: *const RUBase),
pub set_p2: extern "C" fn(self_c: *const RUBase, p2: *const RUBase),
pub set_points: extern "C" fn(self_c: *const RUBase, p1: *const RUBase, p2: *const RUBase),
pub set_line: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
is_null: extern "C" fn(self_c: *const RUBase) -> bool
p1: extern "C" fn(self_c: *const RUBase) -> RUPoint
p2: extern "C" fn(self_c: *const RUBase) -> RUPoint
x1: extern "C" fn(self_c: *const RUBase) -> i32
y1: extern "C" fn(self_c: *const RUBase) -> i32
x2: extern "C" fn(self_c: *const RUBase) -> i32
y2: extern "C" fn(self_c: *const RUBase) -> i32
dx: extern "C" fn(self_c: *const RUBase) -> i32
dy: extern "C" fn(self_c: *const RUBase) -> i32
center: extern "C" fn(self_c: *const RUBase) -> RUPoint
set_p1: extern "C" fn(self_c: *const RUBase, p1: *const RUBase)
set_p2: extern "C" fn(self_c: *const RUBase, p2: *const RUBase)
set_points: extern "C" fn(self_c: *const RUBase, p1: *const RUBase, p2: *const RUBase)
set_line: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32)
Trait Implementations
sourceimpl Clone for RULineFuncs
impl Clone for RULineFuncs
sourcefn clone(&self) -> RULineFuncs
fn clone(&self) -> RULineFuncs
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 RULineFuncs
Auto Trait Implementations
impl RefUnwindSafe for RULineFuncs
impl Send for RULineFuncs
impl Sync for RULineFuncs
impl Unpin for RULineFuncs
impl UnwindSafe for RULineFuncs
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