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