Struct rute::auto::point_ffi::RUPointFuncs
source · #[repr(C)]pub struct RUPointFuncs {
pub destroy: extern "C" fn(self_c: *const RUBase),
pub is_null: extern "C" fn(self_c: *const RUBase) -> bool,
pub x: extern "C" fn(self_c: *const RUBase) -> i32,
pub y: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_x: extern "C" fn(self_c: *const RUBase, x: i32),
pub set_y: extern "C" fn(self_c: *const RUBase, y: i32),
pub manhattan_length: extern "C" fn(self_c: *const RUBase) -> i32,
pub rx: extern "C" fn(self_c: *const RUBase) -> i32,
pub ry: extern "C" fn(self_c: *const RUBase) -> i32,
pub dot_product: extern "C" fn(self_c: *const RUBase, p1: *const RUBase, p2: *const RUBase) -> i32,
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
is_null: extern "C" fn(self_c: *const RUBase) -> bool
x: extern "C" fn(self_c: *const RUBase) -> i32
y: extern "C" fn(self_c: *const RUBase) -> i32
set_x: extern "C" fn(self_c: *const RUBase, x: i32)
set_y: extern "C" fn(self_c: *const RUBase, y: i32)
manhattan_length: extern "C" fn(self_c: *const RUBase) -> i32
rx: extern "C" fn(self_c: *const RUBase) -> i32
ry: extern "C" fn(self_c: *const RUBase) -> i32
dot_product: extern "C" fn(self_c: *const RUBase, p1: *const RUBase, p2: *const RUBase) -> i32
Trait Implementations
sourceimpl Clone for RUPointFuncs
impl Clone for RUPointFuncs
sourcefn clone(&self) -> RUPointFuncs
fn clone(&self) -> RUPointFuncs
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 RUPointFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPointFuncs
impl Send for RUPointFuncs
impl Sync for RUPointFuncs
impl Unpin for RUPointFuncs
impl UnwindSafe for RUPointFuncs
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